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

1.2.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/rndm

Weekly Downloads

318

Version

1.2.2

License

MIT

Unpacked Size

3.1 kB

Total Files

5

Last publish

Collaborators

  • types