limepot-xyz/BETA/mybulma/node_modules/is-lambda/README.md
LimePot 76722fec47 Beta Site
Going to slowly work on a Bulma site, which will end up being the main site.

Currently under the /BETA/ folder so Alpha site will still be main site.
2022-12-20 16:23:37 -07:00

27 lines
563 B
Markdown

# is-lambda
Returns `true` if the current environment is an [AWS
Lambda](https://aws.amazon.com/lambda/) server.
[![Build status](https://travis-ci.org/watson/is-lambda.svg?branch=master)](https://travis-ci.org/watson/is-lambda)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](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