is-lambda
Returns true
if the current environment is an AWS Lambda server.
Installation
npm install is-lambda
Usage
var isLambda = require('is-lambda')
if (isLambda) {
console.log('The code is running on a AWS Lambda')
}
License
MIT
License |
License |
---|---|
GroupId | GroupIdorg.webjars.npm |
ArtifactId | ArtifactIdis-lambda |
Last Version | Last Version1.0.1 |
Release Date | Release Date |
Type | Typejar |
Description |
Descriptionis-lambda
WebJar for is-lambda
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
Filename | Size |
---|---|
is-lambda-1.0.1.pom | |
is-lambda-1.0.1.jar | 4 KB |
is-lambda-1.0.1-sources.jar | 22 bytes |
is-lambda-1.0.1-javadoc.jar | 22 bytes |
Browse |
<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-lambda/ -->
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>is-lambda</artifactId>
<version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-lambda/
implementation 'org.webjars.npm:is-lambda:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/is-lambda/
implementation ("org.webjars.npm:is-lambda:1.0.1")
'org.webjars.npm:is-lambda:jar:1.0.1'
<dependency org="org.webjars.npm" name="is-lambda" rev="1.0.1">
<artifact name="is-lambda" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-lambda', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "is-lambda" % "1.0.1"
[org.webjars.npm/is-lambda "1.0.1"]
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