4.0.2 • Published 6 months ago

@types/otp-generator v4.0.2

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

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

// Type definitions for otp-generator 4.0
// Project: https://github.com/Maheshkumar-Kakade/otp-generator
// Definitions by: Md Sifatul Islam Rabbi <https://github.com/sifatulrabbi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Mon, 28 Feb 2022 17:31:44 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Md Sifatul Islam Rabbi.