Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 475 Bytes

File metadata and controls

32 lines (24 loc) · 475 Bytes

lambda

Minimalist lambda function server base on express.

Description

It will watch and load .js files in ./api folder.

Lambda functions are similar to express.js middlewares.

Example:

module.exports = (req, res) => {
  res.status(200).send('Hello world');
}

Installation

$ npm i

Running

To start the lambda function server:

$ npm start

It can also be run using npx:

$ npx git+ssh://github.com:stefancosquer/lambda.git