Muqriz 48f16bfc3e initail first | 4 months ago | |
---|---|---|
.. | ||
.npmignore | 4 months ago | |
.travis.yml | 4 months ago | |
LICENSE | 4 months ago | |
README.md | 4 months ago | |
index.js | 4 months ago | |
package.json | 4 months ago | |
test.js | 4 months ago |
Returns true
if the current environment is an AWS
Lambda server.
npm install is-lambda
var isLambda = require('is-lambda')
if (isLambda) {
console.log('The code is running on a AWS Lambda')
}
MIT