const HIBP = require("haveibeenpwned-checker@1.0.8")
const TIME_OUT = 3000; // = 3 second timeout in ms
//AccountChecker
HIBP.AccountChecker('test@test.com',myCallback, TIME_OUT);
//PasswordChecker With callback method
HIBP.PasswordChecker('Abcd1234#x27;,myCallback, TIME_OUT);
//PasswordChecker Without callback
HIBP.PasswordChecker("Abcd1234quot;, (result) => {
console.log(result);
}, TIME_OUT)
function myCallback (response){
console.log(response);
}