source: trip-planner-front/node_modules/is-lambda/README.md@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 563 bytes
Line 
1# is-lambda
2
3Returns `true` if the current environment is an [AWS
4Lambda](https://aws.amazon.com/lambda/) server.
5
6[![Build status](https://travis-ci.org/watson/is-lambda.svg?branch=master)](https://travis-ci.org/watson/is-lambda)
7[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
8
9## Installation
10
11```
12npm install is-lambda
13```
14
15## Usage
16
17```js
18var isLambda = require('is-lambda')
19
20if (isLambda) {
21 console.log('The code is running on a AWS Lambda')
22}
23```
24
25## License
26
27MIT
Note: See TracBrowser for help on using the repository browser.