Repository
Current version released
4 years ago
itertools
A TypeScript port of Python’s awesome itertools standard library.
This is an standalone version of nvie/itertools.js for using under the Deno environment.
Example
import { enumerate } from "https://deno.land/x/itertools/mod.ts";
console.log([...enumerate(["hello", "world"])]);
// [0, 'hello'], [1, 'world']
This module provides more functions ported from Python’s builtin functions, itertools, more-itertools, and more. In other words, all functions provided by the original nvie/itertools.js.
See API documentation for more details.
License
The code follows MIT license written in LICENSE. Contributors need to agree that any modifications sent in this repository follow the license.
The original license is written in LICENSE.orig.