Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

just-random

2.1.0 • Public • Published

just-random

Part of a library of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.

Try it now

import random from 'just-random';
 
random([1, 2, 3]);
// one of [1, 2, 3], at random

Install

npm i just-random

DownloadsWeekly Downloads

25

Version

2.1.0

License

MIT

Unpacked Size

2.14 kB

Total Files

4

Last publish

Collaborators

  • avatar