Socket
Socket
Sign inDemoInstall

@invisible/chance-extras

Package Overview
Dependencies
Maintainers
8
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invisible/chance-extras

Singleton Chance, plus some mixins


Version published
Maintainers
8
Created
Source

@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.

FAQs

Package last updated on 26 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc