Skip to content

Latest commit

 

History

History

iterator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@temelj/iterator


Utilities for working with iterables.

Created by Tin Rabzelj jsr License

jsr   •   npm   •   Issues   •   @tinrab


Installation

# npm
$ npm install @temelj/iterator
# jsr
$ deno add jsr:@temelj/iterator # or jsr add @temelj/iterator

About

collectMap returns a partial record, since an iterable may not contain every possible key. flatten accepts nested iterables and concatenates their elements by one level. arrayCombineMerge returns elements from either input, merging plain objects at matching indexes.

This package is part of Temelj - a core library for TypeScript.