@randplus/0to1

2.0.0 • Public • Published

@randplus/0to1

In theory, the random functions in this package can also output 1.
This package is included in 'randplus'.

Usage

const random = require('@randplus/0to1');

console.log(random.versions); // ['v1', 'v2']
console.log(random()) // Use latest random function.
console.log(random(1)); // Use v1 random function.
console.log(random('1')); // Use v1 random function.
console.log(random('v1')); // Use v1 random function.

Get Support

Discord Banner

Package Sidebar

Install

npm i @randplus/0to1

Weekly Downloads

34

Version

2.0.0

License

ISC

Unpacked Size

2.46 kB

Total Files

6

Last publish

Collaborators

  • otoneko.