aws-nodejs-layer

The CDK Construct Library to create nodejs Lambda functions with layers

Usage no npm install needed!

<script type="module">
  import awsNodejsLayer from 'https://cdn.skypack.dev/aws-nodejs-layer';
</script>

README

aws-nodejs-layer

Library to create nodejs Lambda functions with layers.

This CDK Construct creates a layer with all the node_modules bundled in it. This makes incremental packaging of the lambda function quicker & smaller.

A Lambda created with this construct is also editable in the console (if one needs that for debugging purposes).