Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

make-github-pseudonymous-again/js-itertools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

🛠️ js-itertools License


© xkcd.com

Python's iterable and iterator library for JavaScript. Parent is js-library.

⚠️ Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {cycle} from '@iterable-iterator/cycle';
import {chain} from '@iterable-iterator/chain';
cycle( chain( [ 0 , 1 , 2 ] , [ 3 , 4 , 5 ] ) ) ; // 0 1 2 3 4 5 0 1 ...

📰 Description

The goal of this project is to make (the parts that interest me of) the following python constructs/idioms/libraries available in JavaScript under the AGPL-3.0 license.

The corresponding software library used to be released as a monolith. It has since been split up into multiple packages.

🌳 Hierarchy

The packages are released under multiple npm @scopes. Extra features are marked with a *.

🔗 More references in Python and JavaScript

About

🛠️ Python's iterable and iterator library for JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Contributors 8

Morty Proxy This is a proxified and sanitized view of the page, visit original site.