$
This commit is contained in:
27
node_modules/is-lambda/README.md
generated
vendored
Normal file
27
node_modules/is-lambda/README.md
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# is-lambda
|
||||
|
||||
Returns `true` if the current environment is an [AWS
|
||||
Lambda](https://aws.amazon.com/lambda/) server.
|
||||
|
||||
[](https://travis-ci.org/watson/is-lambda)
|
||||
[](https://github.com/feross/standard)
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
npm install is-lambda
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var isLambda = require('is-lambda')
|
||||
|
||||
if (isLambda) {
|
||||
console.log('The code is running on a AWS Lambda')
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
Reference in New Issue
Block a user