Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

consecutively-unique-array

1.0.0 • Public • Published





consecutively-unique-array: unique array generator from a consecutively number list

Install

$ npm install consecutively-unique-array

Why Permutated?

  • Why not 😂
  • Clean and focused
  • Actively maintained

Usage

const cUa = require('consecutively-unique-array');
const arr = cU([1, 2, 3, 4, 5, 6, 7]);
 
console.log(val(), val(), val(), val());
//=> 2 7 3 1

API

cUa(aray)

Return a function with a unique value form an array

  • imput - Type: Array

Team

Carlos Abraham Logo
Carlos Abraham

Related

License

MIT License © Carlos Abraham

install

npm i consecutively-unique-array

Downloadsweekly downloads

2

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability