npm.io
1.0.30 • Published 9 years agoCLI

calculus-cli

Licence
MIT
Version
1.0.30
Deps
17
Vulns
26
Weekly
0
Stars
2

CalculusJS - AWS Lambda CLI + Serverless Micro-Framework for Nodejs

Provision Nodejs AWS Lambda functions that contain a defined CI/CD pipeline.

Why CalculusJS?

  1. To propogate the adoption of DevSecOps amongst all Serverless applications you are developing.
  2. As a NodeJS developer I want to use the same tooling I'm accustomed to when writing non-serverless applications (ex. Webpack, FlowType, Mocha, etc.).
  3. I want to automate the development of CI/CD pipelines for each and every Lambda function I write.

Prerequisites

  • Git installed
  • Terraform installed
  • Unix based systems

Installation

npm install -g calculus

You will want to run above command as root user (sudo).

Configuration

calculus configure

How to start using?

I. Generate a Nodejs Lambda function
$ calculus create hello-world
$ cd ./hello-world
$ npm install
$ npm run build
II. Deploy your new Lambda function
$ cd ./hello-world
$ calculus deploy

FAQs

coming soon...

License

MIT, see LICENSE.md for more information.

Keywords