ranged-random-iterator

1.0.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    4
  • 1.0.0
    2

Package Sidebar

Install

npm i ranged-random-iterator

Weekly Downloads

6

Version

1.0.1

License

MIT

Unpacked Size

25 kB

Total Files

13

Last publish

Collaborators

  • dkhan5