Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.64 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.64 KB

itertools

jsr denoland deno doc Test

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@$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.

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.