@dank-inc/numbaz
v0.4.0
Published
The Dankest Number Library written with Typescript
Downloads
3
Readme
Numbaz
API
import { Rando } from '@dank-inc/numbaz'
Rando.num() // random number from 0 <> 1
Rando.number() // random number from -1 <> 1
Rando.number(2) // random number from -2 <> 2
Rando.number(1, 10) // random number from 9 <> 11
Rando.item([1, 2, 3, 'a', 'b', 'c']) // random item from array