0.2.3 • Published 6 months ago

@types/dumb-passwords v0.2.3

Weekly downloads
122
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/dumb-passwords

Summary

This package contains type definitions for dumb-passwords (https://github.com/kn9ts/dumb-passwords#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dumb-passwords.

index.d.ts

// Type definitions for dumb-passwords 0.2
// Project: https://github.com/kn9ts/dumb-passwords#readme
// Definitions by: Kevin Brown <https://github.com/thekevinbrown>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export function check(password: string): boolean;
export function checkPassword(password: string): boolean;
export function rateOfUsage(
    password: string,
): {
    password: string;
    frequency: number;
    message?: string | undefined;
};

Additional Details

  • Last updated: Thu, 08 Jul 2021 09:08:57 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Kevin Brown.