|
|
1 year ago | |
|---|---|---|
| .. | ||
| .npmignore | 1 year ago | |
| .travis.yml | 1 year ago | |
| LICENSE | 1 year ago | |
| README.md | 1 year ago | |
| index.js | 1 year ago | |
| package.json | 1 year ago | |
| test.js | 1 year 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