@invisible/chance-extras

    1.0.9 • Public • Published

    @invisible/chance-extras

    CircleCI

    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.

    Keywords

    none

    Install

    npm i @invisible/chance-extras

    DownloadsWeekly Downloads

    0

    Version

    1.0.9

    License

    MIT

    Unpacked Size

    5.24 kB

    Total Files

    5

    Last publish

    Collaborators

    • nadeeminv
    • gtaltemann
    • elseagle
    • keenahn
    • invisible-bot
    • rodrigo4244
    • pieterventer
    • scottdownes
    • zacksingh
    • el5091