@cuties/iterator

1.1.3 • Public • Published

cutie-iterator

NPM Version Build Status codecov

Cutie extension for work with iterable protocol in JavaScript. It's based on the Async Tree Pattern.

Examples

You can find examples of using this library in the test directory.

Install

npm install @cuties/iterator

Run test

npm test

Run build

npm run build

Usage

const {
  // Needed async objects here from the table below
} = require('@cuties/iterator');

For more information about parameters in the async objects visit MDN docs for Iterable.

Async Object Async/sync call Parameters(default value/description) Representation result
IteratorProtocol iterator[Symbol.iterator] iterator object
Next iterator.next iterator.next object

Readme

Keywords

Package Sidebar

Install

npm i @cuties/iterator

Weekly Downloads

1

Version

1.1.3

License

MIT

Unpacked Size

9.16 kB

Total Files

14

Last publish

Collaborators

  • guseyn