Catalog npm
PACKAGE EXPLORERView in registry

3h-iter

npm

An iteration lib.

3hiteriterationiterator
Versions collected10
Direct dependencies10From release 0.9.1
Last observed20 Oct, 19:43 UTC

README

Current package documentation

3h-iter

An iterator lib.

Introduction

3h-iter is an iterator library that provides useful iterator-related helpers, such as map, range, chain, zip and so on. It is recommanded to use 3h-iter with ES2015+ syntax.

Example Usage

import { range, zip } from '3h-iter';

for (const i of range(5)) {
    console.log(i);
}
// Prints 0 through 4 in console.

const numbers = [0, 1, 2];
const strings = ['a', 'b', 'c'];
for (const tuple of zip(numbers, strings)) {
    console.log(tuple);
}
// Prints the following tuples:
// [ 0, 'a' ]
// [ 1, 'b' ]
// [ 2, 'c' ]

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 10

Collected releases
VersionPublishedDirect dependenciesOpen version
0.9.1Registry latest24 Jan 202410
0.9.024 Jan 202410
0.8.022 Jan 202410
0.7.09 Sept 202310
0.6.05 Sept 202310
0.5.05 Sept 20239
0.4.014 Sept 20208
0.3.012 Sept 20208
0.2.08 Sept 20208
0.1.04 Sept 20208

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
huang2002/3h-iter

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:43 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:a6cae1e6fde0b9be18e772ed19b54026e9711a6e683465c3131e8426d7c393d0