Catalog npm
Back to packageRELEASE DETAILS

0.9.1

npm

3h-iter

An iteration lib.

3hiteriterationiterator
Published24 Jan 2024
Direct dependencies10
Transitive dependenciesNot calculated

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.

Declared dependencies 10

Native requirements
10 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@babel/core
Environment
{
  "local_name": "@babel/core",
  "alias": false,
  "peer_metadata": null
}
^7.11.5development
@babel/preset-env
Environment
{
  "local_name": "@babel/preset-env",
  "alias": false,
  "peer_metadata": null
}
^7.11.5development
@rollup/plugin-babel
Environment
{
  "local_name": "@rollup/plugin-babel",
  "alias": false,
  "peer_metadata": null
}
^6.0.3development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.5.9development
3h-test
Environment
{
  "local_name": "3h-test",
  "alias": false,
  "peer_metadata": null
}
^0.10.0development
dts2md
Environment
{
  "local_name": "dts2md",
  "alias": false,
  "peer_metadata": null
}
^0.4.0development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.5development
rollup
Environment
{
  "local_name": "rollup",
  "alias": false,
  "peer_metadata": null
}
^3.28.1development
terser
Environment
{
  "local_name": "terser",
  "alias": false,
  "peer_metadata": null
}
^5.2.1development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.2.2development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-Br53gJnRFtqhZ+8AaCtpJy/MtdnV/84Ax1guNtsV4m4jPYSata5BfK4dyN79BIbImNAVM2zq7aiP1eQWjwlEMg==",
  "shasum": "abc1b3c7f5ec1ca688483edd120df458707c9f01",
  "tarball": "https://registry.npmjs.org/3h-iter/-/3h-iter-0.9.1.tgz",
  "fileCount": 25,
  "unpackedSize": 68221,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCBEVNDksChZ5dfmDa+qoVWSPQsfgiopA38flSS+W2QmwIhAPCPs5qVbunf+OeS2K063yrX0LYjSRD1AYpXGX0S1las"
    }
  ]
}

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_version:7029be3bd2c4f2c93dabd6b5d630e1abb16963eeb8ce7c73bc314aa93bef4cfa

Other collected versions

0.9.024 Jan0.8.022 Jan0.7.09 Sept0.6.05 Sept0.5.05 Sept0.4.014 SeptView all collected versions →