Gathering detailed insights and metrics for @lambrioanpm/voluptatibus-ducimus-eligendi
Gathering detailed insights and metrics for @lambrioanpm/voluptatibus-ducimus-eligendi
npm install @lambrioanpm/voluptatibus-ducimus-eligendi
Typescript
Module System
Node Version
NPM Version
32.2
Supply Chain
48.1
Quality
74.6
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
143
Last Day
1
Last Week
4
Last Month
18
Last Year
143
MIT License
2,340 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Feb 20, 2025
Latest Version
1.0.0
Package Id
@lambrioanpm/voluptatibus-ducimus-eligendi@1.0.0
Unpacked Size
13.01 kB
Size
4.99 kB
File Count
8
NPM Version
10.5.0
Node Version
20.12.2
Published on
May 04, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-42.9%
4
Compared to previous week
Last Month
260%
18
Compared to previous month
Last Year
0%
143
Compared to previous year
36
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 @lambrioanpm/voluptatibus-ducimus-eligendi
1const map = require('@lambrioanpm/voluptatibus-ducimus-eligendi/Iterator.prototype.map'); 2const toArray = require('@lambrioanpm/voluptatibus-ducimus-eligendi/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.