0.6.0 • Published 11 days ago

@lambda-lambda-lambda/cli v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

L³ CLI

npm version npm.io 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

NameIdentifierSDKDeprecation (Phase 1)
Node.js 20nodejs20.x3
Node.js 18nodejs18.x3*See note below
Node.js 16nodejs16.x2Mar 11, 2024
Node.js 14nodejs14.x2Nov 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

0.6.0

11 days ago

0.5.3

16 days ago

0.5.2

18 days ago

0.5.1

22 days ago

0.3.0

9 months ago

0.2.1

9 months ago

0.5.0

6 months ago

0.3.2

7 months ago

0.4.0

7 months ago

0.3.1

7 months ago

0.2.0

12 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago