@types/otp-generator
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

Installation

npm install --save @types/otp-generator

Summary

This package contains type definitions for otp-generator (https://github.com/Maheshkumar-Kakade/otp-generator).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/otp-generator.

index.d.ts

interface Options {
    digits?: boolean;
    lowerCaseAlphabets?: boolean;
    upperCaseAlphabets?: boolean;
    specialChars?: boolean;
}

declare const _default: {
    generate: (length?: number, options?: Options) => string;
};
export = _default;

Additional Details

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

Credits

These definitions were written by Md Sifatul Islam Rabbi.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/otp-generator

Weekly Downloads

11,765

Version

4.0.2

License

MIT

Unpacked Size

3.11 kB

Total Files

5

Last publish

Collaborators

  • types