mirror of https://github.com/jkjoy/sunpeiwen.git
5d2d87c740 | ||
---|---|---|
.. | ||
.npmignore | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
index.js | ||
package.json | ||
test.js |
README.md
is-lambda
Returns true
if the current environment is an AWS
Lambda server.
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