npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@lambda-lambda-lambda/cli

v0.6.7

Published

Command-line tool to create a new L³ application.

Downloads

178

Readme

L³ CLI

npm version Build Status Install size

Command-line tool to create a new application.

Dependencies

Installation

Install the command-line utility using NPM.

$ npm install -g @lambda-lambda-lambda/cli

Usage

Create a new L³ application

Usage: lambda-lambda-lambda create [options]

Options:
--name <value>          Application name (Example: restfulApiHandler)
--description <value>   Description
--prefix <path>         Request prefix (Example: /api) (default: "/")
--timeout <number>      Function timeout (in seconds) (default: "15")
--sdk-version <number>  AWS SDK for JavaScript version (default: "3")
--runtime <string>      Node.js Lambda runtime identifier (default: "nodejs20.x")
--asynchronous          Use asynchronous handler? (default: false)
-h, --help              display help for command

Install L³ middleware plugin

Usage: lambda-lambda-lambda install [options] <PluginName>

Arguments:
  PluginName            Plugin name (Example: BasicAuthHandler), list packages if undefined

Options:
-h, --help              display help for command

Supported runtimes

| Name | Identifier | SDK | Deprecation (Phase 1) | |------------|--------------|-----|-----------------------| | Node.js 20 | nodejs20.x | 3 | | | Node.js 18 | nodejs18.x | 3 | *See note below | | Node.js 16 | nodejs16.x | 2 | Mar 11, 2024 | | Node.js 14 | nodejs14.x | 2 | Nov 27, 2023 |

(*) While this Node release is currently supported in AWS Lambda, the underlying VS Code Dev Container is no longer supported by VS Code due to deprecated support older Linux build toolchains (glibc >= 2.28 and libstdc++ >= 3.4.2).

If you need to support this release update the devcontainer.json image to:

{
  "name": "restfulJsonApi",
  "image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",

Developers

CLI options

Compile JavaScript sources from TypeScript to a distribution:

$ npm run compile

Compile and listen for changes (development mode):

$ npm run watch

Run ESLint on project sources:

$ npm run lint

Run Mocha integration tests:

$ npm run test

Contributions

If you fix a bug, or have a code you want to contribute, please send a pull-request with your changes. (Note: Before committing your code please ensure that you are following the TypeScript style guide)

Versioning

This package is maintained under the Semantic Versioning guidelines.

License and Warranty

This package is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

lambda-lambda-lambda/cli is provided under the terms of the MIT license

Author

Marc S. Brooks