1.4.0 • Published 2 years ago

@dmaksimyk/randoms v1.4.0

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

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.

1.4.0

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago