npm.io
1.0.0 • Published 8 years ago

consecutively-unique

Licence
MIT
Version
1.0.0
Deps
0
Size
4 kB
Vulns
0
Weekly
0





consecutively-unique: unique generator from a consecutively number list

Install

$ npm install consecutively-unique

Why Permutated?

  • 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

License

MIT License Carlos Abraham

Keywords