A bundler for AWS Lambda functions that browserifies and zips code for deployment. Current stable version is 0.11.1, released with dependency updates addressing a high-severity lodash vulnerability. The package has a slow release cadence (last release in 2018). It differs from other AWS Lambda bundlers by integrating Browserify for bundling and providing options for minification, source maps, native addon compatibility, and optional deployment via the AWS SDK. Supports Node.js >=4.0.0.
npm install lambundalerVerified import paths — ran on the pinned version, not inferred.
Shows basic usage: bundle a lambda handler, minify, exclude aws-sdk, and write to zip.
Update to version 0.11.1 or later.
Update callback to accept (err, buffer, artifacts).
Add 'aws-sdk' to 'files' array if required.
Run 'npm install browserify --save-dev'.
Provide absolute path or relative path from project root.
Use 'const Lambundaler = require("lambundaler")'.