1.0.3 • Published 4 years ago

simple-local-lambda-invoker v1.0.3

Weekly downloads
27
License
ISC
Repository
github
Last release
4 years ago

Simple AWS Local Lambda Invoker

Usage

	const path = require('path');
	const {
		load,
		invoke
	} = require('simple-local-lambda-invoker');

	load({
		connect: path.resolve('../my-function-path')
	});

	invoke({
			FunctionName: 'myFunctionName',
			Payload: JSON.stringify({
				key: 'value'
			})
		}, (err, result) => console.log);
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago