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.