Catalog npm
Back to packageRELEASE DETAILS

0.9.0

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-r7bkMITj8covReREvr1NZBxWTuiXmI1HxIwIg07xjW9UPKsQEwfQ6VjHkHlIzgMNIh7GdruU8UllEcJ13AZfOA==",
  "shasum": "8537791fb15de5ac4f23703981c42e61af5f9b62",
  "tarball": "https://registry.npmjs.org/3h-iter/-/3h-iter-0.9.0.tgz",
  "fileCount": 25,
  "unpackedSize": 68188,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQC5iPHDzJ6ZhBIibpcfrfOkoTmuhCoFy62ewgg7xASyyAIgPnMDOiImUVp1vPo/bV2hWtcGlYdck6z1kh6XXWxDZpY="
    }
  ]
}

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:b8b9432a2ca9af52a2dc0dbd2d8ad199bb9ee4e5b3e5e92233acd6288b484aba

Other collected versions

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