2.1.1 • Published 3 months ago

acai v2.1.1

Weekly downloads
7
License
Apache-2.0
Repository
github
Last release
3 months ago

CircleCI Quality Gate Status

Acai

DRY, configurable, declarative node library for working with Amazon Web Service Lambdas.

Features

  • Highly configurable apigateway internal router
  • Openapi schema adherence for all event types
  • Extensible and customizable middleware for validation and other tasks
  • DRY coding interfaces without the need of boilerplate
  • Ease-of-use with the serverless framework
  • Local Development support
  • Happy Path Programming (See Philosophy below)

Philosophy

The Acai philosophy is to provide a dry, configurable, declarative library for use with the amazon lambdas, which encourages Happy Path Programming (HPP).

Happy Path Programming is an idea in which inputs are all validated before operated on. This ensures code follows the happy path without the need for mid-level, nested exceptions and all the nasty exception handling that comes with that. The library uses layers of customizable middleware options to allow a developer to easily dictate what constitutes a valid input, without nested conditionals, try/catch blocks or other coding blocks which distract from the happy path that covers the majority of that codes intended operation.

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

If this is a brand new project, make sure to create a package.json first with the npm init command.

Installation is done using the npm install command:

$ npm install acai

Documentation & Examples

Testing

$ npm install
$ npm test
2.1.1

3 months ago

2.0.7

5 months ago

2.1.0

5 months ago

1.0.0

6 months ago

2.0.3-beta.3

6 months ago

2.0.3-beta.2

6 months ago

2.0.3-beta.1

6 months ago

2.0.3

6 months ago

2.0.2

6 months ago

2.0.5

6 months ago

2.0.4

6 months ago

2.0.6

6 months ago

2.0.1

6 months ago

2.0.0

6 months ago

0.0.1

8 years ago