linweizeng 9fe04cf7a7 update node_modules %!s(int64=3) %!d(string=hai) anos
..
.npmignore 9fe04cf7a7 update node_modules %!s(int64=3) %!d(string=hai) anos
.travis.yml 9fe04cf7a7 update node_modules %!s(int64=3) %!d(string=hai) anos
LICENSE 9fe04cf7a7 update node_modules %!s(int64=3) %!d(string=hai) anos
README.md 9fe04cf7a7 update node_modules %!s(int64=3) %!d(string=hai) anos
index.js 9fe04cf7a7 update node_modules %!s(int64=3) %!d(string=hai) anos
package.json 9fe04cf7a7 update node_modules %!s(int64=3) %!d(string=hai) anos
test.js 9fe04cf7a7 update node_modules %!s(int64=3) %!d(string=hai) anos

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