Installation
npm install --save @types/rndm
Summary
This package contains type definitions for rndm (https://github.com/crypto-utils/rndm#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rndm.
index.d.ts
declare function rndm(length: number): string;
declare namespace rndm {
function base62(length: number): string;
function base36(length: number): string;
function base10(length: number): string;
function create(characters: string): (length: number) => string;
}
export = rndm;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Ankan Bhattacharya.