User 80477d6a76 完美版 il y a 5 mois
..
.npmignore 80477d6a76 完美版 il y a 5 mois
.travis.yml 80477d6a76 完美版 il y a 5 mois
LICENSE 80477d6a76 完美版 il y a 5 mois
README.md 80477d6a76 完美版 il y a 5 mois
index.js 80477d6a76 完美版 il y a 5 mois
package.json 80477d6a76 完美版 il y a 5 mois
test.js 80477d6a76 完美版 il y a 5 mois

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