UNPKG

@types/rndm

Version:
30 lines (22 loc) 885 B
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rndm/index.d.ts) ````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](https://github.com/Ankan002).