@types/password-hash-and-salt
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Installation

npm install --save @types/password-hash-and-salt

Summary

This package contains type definitions for password-hash-and-salt (https://github.com/florianheinemann/password-hash-and-salt).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/password-hash-and-salt.

index.d.ts

interface Password {
    hash(cb: (error: string, hash: string) => void): void;
    verifyAgainst(hash: string, cb: (error: string, verified: boolean) => void): void;
}

declare function password(password: string): Password;
declare namespace password {}

export = password;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Ali Taheri.

/@types/password-hash-and-salt/

    Package Sidebar

    Install

    npm i @types/password-hash-and-salt

    Weekly Downloads

    207

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    3.21 kB

    Total Files

    5

    Last publish

    Collaborators

    • types