UNPKG

aws-lambda-binary

Version:

Removes the boilerplate of running binary executables in your lambda. Allows you to start the process during the static section of Lambda and then communicate with them over stdio during function invocation.

14 lines (11 loc) 408 B
.PHONY: bundle copy-shim test test: copy-shim node wrapper.test.js bundle: test rm -f bundle.zip zip -r bundle.zip node_modules wrapper.js echo "Now upload the bundle.zip to your AWS Lambda function which uses 'Node.js 6.10', and handler is 'handler.wrapper'" copy-shim: rm -rf node_modules/aws-lambda-binary mkdir -p node_modules/aws-lambda-binary cp -r ../../lib/. node_modules/aws-lambda-binary/