Skip to content

dookyoonhan/ranged-random-iterator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ranged Random Iterator

Generate random index in a sequentially ordered group

Array index generator to give a randomness in the sequential order. Mainly aimed to allow to choose the data chunk index randomly in a streaming service.

Features

  • start/end index, group size - Given array's index is divided into several with the given group size value.
  • Test - Tape library test

Commands

  • npm test - Run tests with tape js library and coverage results.

Installation

Just clone this repo, remove .git folder and require the module.

License

MIT © dk han

About

Generate random index in a sequentially ordered group

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published