1.4.0 • Published 2 years ago
@dmaksimyk/randoms v1.4.0
Description
This package was created for lazy people like me. The package concept was simple, to write well-tuned generators for different occasions. For example: Package.random(x) - works on the basis of the crypto package.
Usage
// import { random } from "@dmaksimyk/randoms"; // ES6+
// const { random } = require("@dmaksimyk/randoms"); // ES5 and below
random(1, 23); // random(x, y)
random(100); // random(x)
Typescript
TypeScript support out of the box.