New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@cuties/iterator

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cuties/iterator

Cutie extension for the iterable protocol in JavaScript.

latest
Source
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

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 ObjectAsync/sync callParameters(default value/description)Representation result
IteratorProtocoliterator[Symbol.iterator]iteratorobject
Nextiterator.nextiterator.nextobject

Keywords

cutie

FAQs

Package last updated on 10 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts