@types/is-lambda
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/is-lambda

Summary

This package contains type definitions for is-lambda (https://github.com/watson/is-lambda).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-lambda.

index.d.ts

export = isLambda;

/**
 * @returns `true` if the current environment is an [AWS Lambda](https://aws.amazon.com/lambda/) server.
 *
 * @example
 * import isLambda = require('is-lambda')
 *
 * if (isLambda) {
 *   console.log('The code is running on a AWS Lambda')
 * }
 */
declare const isLambda: boolean;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/is-lambda

Weekly Downloads

3,961

Version

1.0.2

License

MIT

Unpacked Size

3.16 kB

Total Files

5

Last publish

Collaborators

  • types