const path = require('path');
const {
load,
invoke
} = require('smallorange-local-lambda-invoker');
load({
connect: path.resolve('../my-function-path')
});
invoke({
FunctionName: 'myFunctionName',
Payload: JSON.stringify({
key: 'value'
})
}, (err, result) => console.log);
This package has been deprecated
Author message:
Please use simple-local-lambda-invoker instead.
smallorange-local-lambda-invoker
1.0.11 • Public • Published/smallorange-local-lambda-invoker/
Package Sidebar
Install
npm i smallorange-local-lambda-invoker
Homepage
Weekly Downloads
3
Version
1.0.11
License
ISC
Unpacked Size
2.26 kB
Total Files
4