@randplus/0to1
v2.0.1
Published
In theory, the random functions in this package can also output 1. This package is included in 'randplus'.
Downloads
32
Maintainers
Readme
@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.