Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 





consecutively-unique: unique generator from a consecutively number list

Install

$ npm install consecutively-unique

Why?

  • Why not 😂
  • Clean and focused
  • Actively maintained

Usage

const cU = require('consecutively-unique');
const val = cU(1, 20);

console.log(val(), val(), val(), val());
//=> 18 7 1 10

API

cU(minValue, maxValue)

Return a function with a unique value unique value form a consecutively number list

Team

Carlos Abraham Logo
Carlos Abraham

Related

  • cu: same thing but in Python

License

MIT License © Carlos Abraham

About

Unique generator from a consecutively number list

Topics

Resources

License

Releases

No releases published

Packages

No packages published