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

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/random-number-csprng

Weekly Downloads

5,216

Version

1.0.2

License

MIT

Unpacked Size

3.38 kB

Total Files

5

Last publish

Collaborators

  • types