wpfat23-7 44a43ea56d init commit (frontend and backend) 2 年 前
..
.npmignore 44a43ea56d init commit (frontend and backend) 2 年 前
.travis.yml 44a43ea56d init commit (frontend and backend) 2 年 前
LICENSE 44a43ea56d init commit (frontend and backend) 2 年 前
README.md 44a43ea56d init commit (frontend and backend) 2 年 前
index.js 44a43ea56d init commit (frontend and backend) 2 年 前
package.json 44a43ea56d init commit (frontend and backend) 2 年 前
test.js 44a43ea56d init commit (frontend and backend) 2 年 前

README.md

is-lambda

Returns true if the current environment is an AWS Lambda server.

Build status js-standard-style

Installation

npm install is-lambda

Usage

var isLambda = require('is-lambda')

if (isLambda) {
  console.log('The code is running on a AWS Lambda')
}

License

MIT