Node module for checking whether a password has been pwned using pwnedpasswords.com
npm install compromised-password
const is_compromised = require('./compromised-password');
async function test () {
const isPwned = await is_compromised('test');
console.log(isPwned);
}
test();