/zxcvbn-on-lambda

Bring an awesome password strength estimator (zxcvbn) to the cloud (AWS Lamda)

Primary LanguageJavaScriptMIT LicenseMIT

ZXCVBN On Lambda

MIT license

Bring awesome zxcvbn - a password strength estimator to the cloud (AWS Lamda) with serverless

Preview

Use case

Whenever you need a function to check user password. One minute and you will get it on AWS Lambda that can call everywhere.

Quick install

First, you will need serverless framework configured AWS credentials.

Next, clone this repo and re-deploy

git clone https://github.com/stephentt-me/zxcvbn-on-lambda.git
cd zxcvbn-on-lambda
serverless deploy

And your function is ready!

Using

Make a REST API call:

curl -H 'Content-Type: application/json' -d '{"password":"xyz"}' https://YOUR-LAMDA.amazonaws.com/PATH

Reference

License

MIT. See LICENSE for more information.