Gathering detailed insights and metrics for @firanorg/mollitia-molestias-accusamus
Gathering detailed insights and metrics for @firanorg/mollitia-molestias-accusamus
Gathering detailed insights and metrics for @firanorg/mollitia-molestias-accusamus
Gathering detailed insights and metrics for @firanorg/mollitia-molestias-accusamus
npm install @firanorg/mollitia-molestias-accusamus
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
97,810
Last Day
9
Last Week
38
Last Month
108
Last Year
97,810
2,122 Commits
2 Watching
1 Branches
1 Contributors
Latest Version
10.13.142
Package Id
@firanorg/mollitia-molestias-accusamus@10.13.142
Unpacked Size
297.04 kB
Size
155.25 kB
File Count
834
NPM Version
10.8.2
Node Version
20.18.0
Publised On
18 Oct 2024
Cumulative downloads
Total Downloads
Last day
125%
9
Compared to previous day
Last week
-15.6%
38
Compared to previous week
Last month
-88.1%
108
Compared to previous month
Last year
0%
97,810
Compared to previous year
16
An ESnext spec-compliant sync iterator helpers shim/polyfill/replacement that works as far down as ES3.
This package implements the es-shim API “multi” interface. It works in an ES3-supported environment and complies with the spec.
Because the Iterator.prototype
methods depend on a receiver (the this
value), the main export in each subdirectory takes the string to operate on as the first argument.
The main export of the package itself is simply an array of the available directory names. It’s sole intended use is for build tooling and testing.
Iterator
constructorIterator.prototype
Iterator.from
Iterator.prototype.constructor
Iterator.prototype.drop
Iterator.prototype.every
Iterator.prototype.filter
Iterator.prototype.find
Iterator.prototype.flatMap
Iterator.prototype.forEach
Iterator.prototype.map
Iterator.prototype.reduce
Iterator.prototype.some
Iterator.prototype.take
Iterator.prototype.toArray
1npm install --save @firanorg/mollitia-molestias-accusamus
1const map = require('@firanorg/mollitia-molestias-accusamus/Iterator.prototype.map'); 2const toArray = require('@firanorg/mollitia-molestias-accusamus/Iterator.prototype.toArray'); 3const assert = require('assert'); 4 5const iterator = [1, 2, 3].values(); 6 7const mapped = map(iterator, (x) => x + 10); 8assert.deepEqual( 9 mapped.next(), 10 { 11 done: false, 12 value: 11, 13 } 14); 15assert.deepEqual( 16 toArray(mapped), 17 [12, 13] 18);
1require('./auto'); // shim all of the methods 2 3require('./Iterator.prototype.map/auto'); // shim the “map” method
Simply clone the repo, npm install
, and run npm test
No vulnerabilities found.
No security vulnerabilities found.