1.0.2 • Published 6 years ago

lazygen v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

lazygen

Basic implementation of ECMAScript Array API for Generator Objects

Installation

npm install --save lazy

Usage

import Generator, { range } from 'lazygen'

let r = range(1, 5).filter(x => x != 2)
console.log(...r) // 1 3 4

TODO

  • Write unit tests
  • Write Documentation for utils
1.0.2

6 years ago

1.0.0

6 years ago