Is it possible to require a node.js module in aws lambda that can not be required by default?
I'm trying to implement a password hashing function using the bcrypt algorithm but
var bcrypt = require('bcryptjs');
won't work. I've searched the internet now for quite some time but couldn't find a fitting solution. https://aws.amazon.com/blogs/compute/nodejs-packages-in-lambda/ doesn't help either since I don't have an EC2 instance with Node.js installed. I think there must be an easier way to do this.
via user6819516
No comments:
Post a Comment