Some great tools for iteration inspired by python.

Usage no npm install needed!

<script type="module">
  import shlappasItertools from 'https://cdn.skypack.dev/@shlappas/itertools';


npm version Build Status


The python language (both python core and the itertools module) have great support for daling with iterators and iterables. Sometimes the same functionality would be nice to have in javascript and typescript.

This package implements some of the useful iterator-related functions in typescript, so that you can get the same great readability as a python program, all while keeping that juicy compile-time type safety.


yarn add @shlappas/itertools


Check out the docs! Created with typedoc