green-local

1.5.2 • Public • Published


green-local

Stub implementation of the Greengrass SDK allowing to run Lambda functions locally.

CodeFactor

Current version: 1.5.2

Lead Maintainer: Halim Qarroum

Table of contents

Install

npm install --save green-local

Description

This module makes it possible to run the AWS Greengrass Core SDK, version 1.5, locally on your development machine by using stubs when outside of a Greengrass environment.

This module will not implement the same functionalities as Greengrass on your machine, but will rather allow you to safely execute the code of your Lambda functions on your developement environment without any errors due to missing dependencies which are normally not available outside of a Greengrass context.

Usage

In order to use green-local, replace your Greengrass Core SDK dependency module by the following :

const Greengrass = require('green-local');

Since the green-local module implements a common interface with the Greengrass Core SDK, nothing is to be changed into your code to work locally or inside Greengrass.

See also

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i green-local

      Weekly Downloads

      4

      Version

      1.5.2

      License

      MIT

      Unpacked Size

      138 kB

      Total Files

      10

      Last publish

      Collaborators

      • hqm