Installation
npm install --save @types/random-number-csprng
Summary
This package contains type definitions for random-number-csprng (https://github.com/joepie91/node-random-number-csprng).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/random-number-csprng.
index.d.ts
/**
* Returns a Promise that resolves to a random number within the specified range.
*
* @param minimum The lowest possible integer in the range.
* @param maximum The highest possible integer in the range. Inclusive.
* @param cb Callback function
*/
declare function randomNumber(minimum: number, maximum: number, cb?: () => void): Promise<number>;
export = randomNumber;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by nacam403.