@invisible/chance-extras
v1.0.9
Published
Singleton Chance, plus some mixins
Downloads
11
Maintainers
Keywords
Readme
@invisible/chance-extras
Chance singleton with some mixins
Install
yarn add @invisible/chance-extras
Usage
const chance = require('@invisible/chance-extras')
const uniqueNumber = chance.uniqueNumberGenerator({ min: 1, max: 10 })
uniqueNumber()
uniqueNumber()
uniqueNumber({ reset: true })
See mixins.spec.js for a full list of all mixins and how they are used.