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.
import { enumerate } from "https://deno.land/x/itertools@$MODULE_VERSION/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.
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.