# calculus-cli

> AWS Lambda CLI to quickly generate Nodejs Lambda functions along with a CI/CD pipeline.

Latest version **1.0.30** (published 2017-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install calculus-cli
pnpm add calculus-cli
yarn add calculus-cli
bun add calculus-cli
```

Provides the command `calculus`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.30 |
| Published | 2017-09-04 |
| First published | 2017-07-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 17 |
| Known vulnerabilities | 0 (+26 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Michael Iglesias |
| Maintainers | kassabian |
| Keywords | serverless, AWS, awsserverless, awslambda, lambda, lambdafunctions, serverlesscli, cli, nodejs |

## Links

- npm: https://www.npmjs.com/package/calculus-cli
- Repository: https://github.com/Lionshead-io/calculus-serverless-cli
- Homepage: https://github.com/Lionshead-io/calculus-serverless-cli#readme
- Issues: https://github.com/Lionshead-io/calculus-serverless-cli/issues
- npm.io page: https://npm.io/package/calculus-cli

## Dependencies (17)

- [co](https://npm.io/package/co.md) ^4.6.0
- [chai](https://npm.io/package/chai.md) ^4.0.2
- [nock](https://npm.io/package/nock.md) ^9.0.13
- [axios](https://npm.io/package/axios.md) ^0.16.2
- [chalk](https://npm.io/package/chalk.md) ^2.0.1
- [mocha](https://npm.io/package/mocha.md) ^3.4.2
- [ramda](https://npm.io/package/ramda.md) ^0.24.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.80.0
- [webpack](https://npm.io/package/webpack.md) ^3.0.0
- [folktale](https://npm.io/package/folktale.md) ^2.0.0-rc1
- [commander](https://npm.io/package/commander.md) ^2.10.0
- [executive](https://npm.io/package/executive.md) ^1.5.11
- [superagent](https://npm.io/package/superagent.md) ^3.5.2
- [cli-spinner](https://npm.io/package/cli-spinner.md) ^0.2.6
- [node-run-cmd](https://npm.io/package/node-run-cmd.md) ^1.0.1
- [shebang-loader](https://npm.io/package/shebang-loader.md) 0.0.1

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.30 (latest) — 2017-09-04
- 1.0.29 — 2017-09-04
- 1.0.28 — 2017-09-04
- 1.0.27 — 2017-09-04
- 1.0.26 — 2017-09-04
- 1.0.25 — 2017-09-04
- 1.0.24 — 2017-09-04
- 1.0.23 — 2017-09-01
- 1.0.22 — 2017-08-31
- 1.0.21 — 2017-08-30
- 1.0.20 — 2017-08-30
- 1.0.19 — 2017-08-20
- 1.0.18 — 2017-08-20
- 1.0.17 — 2017-08-20
- 1.0.16 — 2017-08-20
- … 16 more at https://npm.io/package/calculus-cli/versions

## README

# 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

<!-- Code snippet title -->
```
$ 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.

---
_Source: https://npm.io/package/calculus-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
