pwnchk

0.3.0 • Public • Published

pwnchk

small wrapper for pwnedpasswords to check if a password has been pwned.

available as a cli tool or as a library on npm/pwnchk

note: this code does not expose or send the input to any server. comparison is done locally via sha1 hash. check the official api documentation for more details.

usage

  • standalone cli

    npx pwnchk <password>
  • from code

    npm i pwnchk
    import { checkInput } from "pwnchk";
    const result = await checkInput("password");
    console.table(result);

refs:

Package Sidebar

Install

npm i pwnchk

Weekly Downloads

4

Version

0.3.0

License

MIT

Unpacked Size

11.3 kB

Total Files

9

Last publish

Collaborators

  • denolk