Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lambdalisue/deno-itertools
🦕 A TypeScript port of Python's itertools and more-itertools for Deno
https://github.com/lambdalisue/deno-itertools
deno itertools jsr more-itertools
Last synced: 3 months ago
JSON representation
🦕 A TypeScript port of Python's itertools and more-itertools for Deno
- Host: GitHub
- URL: https://github.com/lambdalisue/deno-itertools
- Owner: lambdalisue
- License: mit
- Created: 2021-04-10T06:39:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-06T09:21:43.000Z (10 months ago)
- Last Synced: 2024-10-30T03:52:34.621Z (3 months ago)
- Topics: deno, itertools, jsr, more-itertools
- Language: TypeScript
- Homepage: https://jsr.io/@lambdalisue/itertools
- Size: 1.7 MB
- Stars: 19
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# itertools
[![jsr](https://img.shields.io/jsr/v/%40lambdalisue/itertools?logo=javascript&logoColor=white)](https://jsr.io/@lambdalisue/itertools)
[![denoland](https://img.shields.io/github/v/release/lambdalisue/deno-itertools?logo=deno&label=denoland)](https://github.com/lambdalisue/deno-itertools/releases)
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/itertools/mod.ts)
[![Test](https://github.com/lambdalisue/deno-itertools/actions/workflows/test.yml/badge.svg)](https://github.com/lambdalisue/deno-itertools/actions/workflows/test.yml)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.[Deno]: https://deno.land/
[itertools]: https://docs.python.org/3/library/itertools.html
[more-itertools]: https://pypi.org/project/more-itertools/
[nvie/itertools.js]: https://github.com/nvie/itertools.js## Example
```typescript
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](https://doc.deno.land/https/deno.land/x/itertools/mod.ts)
for more details.## License
The code follows MIT license written in [LICENSE](./LICENSE). Contributors need
to agree that any modifications sent in this repository follow the license.The original license is written in [LICENSE.orig](./LICENSE.orig).