Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

extra-iterable

Package Overview
Dependencies
Maintainers
1
Versions
468
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extra-iterable - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

2

package.json
{
"name": "extra-iterable",
"version": "0.2.7",
"version": "0.2.8",
"description": "Extra methods for iterable.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,11 +0,6 @@

# iterable-extra
> [iterable-extra](https://www.npmjs.com/package/iterable-extra) was renamed to [extra-iterable](https://www.npmjs.com/package/extra-iterable).
[![NPM](https://nodei.co/npm/iterable-extra.png)](https://nodei.co/npm/iterable-extra/)
Extra methods for [iterable].<br>
Browserified, minified module: [iterable-extra.min].
Browserified, minified module: [extra-iterable.min].
```javascript
const extra = require('iterable-extra');
const extra = require('extra-iterable');
// extra.is(<value>)

@@ -17,66 +12,66 @@ // extra.isCollection(<iterable>)

Datatype methods:
- [is](https://www.npmjs.com/package/iterable-is)
- [isCollection](https://www.npmjs.com/package/iterable-iscollection)
- [is](https://www.npmjs.com/package/@extra-iterable/is)
- [isCollection](https://www.npmjs.com/package/@extra-iterable/is-collection)
About methods:
- [equal](https://www.npmjs.com/package/iterable-equal)
- [size](https://www.npmjs.com/package/iterable-size)
- [first](https://www.npmjs.com/package/iterable-first)
- [middle](https://www.npmjs.com/package/iterable-middle)
- [last](https://www.npmjs.com/package/iterable-last)
- [keys](https://www.npmjs.com/package/iterable-keys)
- [entries](https://www.npmjs.com/package/iterable-entries)
- [equal](https://www.npmjs.com/package/@extra-iterable/equal)
- [size](https://www.npmjs.com/package/@extra-iterable/size)
- [first](https://www.npmjs.com/package/@extra-iterable/first)
- [middle](https://www.npmjs.com/package/@extra-iterable/middle)
- [last](https://www.npmjs.com/package/@extra-iterable/last)
- [keys](https://www.npmjs.com/package/@extra-iterable/keys)
- [entries](https://www.npmjs.com/package/@extra-iterable/entries)
Search methods:
- [startsWith](https://www.npmjs.com/package/iterable-startswith)
- [endsWith](https://www.npmjs.com/package/iterable-endswith)
- [indexOf](https://www.npmjs.com/package/iterable-indexof)
- [indicesOf](https://www.npmjs.com/package/iterable-indicesof)
- [lastIndexOf](https://www.npmjs.com/package/iterable-lastindexof)
- [includes](https://www.npmjs.com/package/iterable-includes)
- [contains](https://www.npmjs.com/package/iterable-contains)
- [startsWith](https://www.npmjs.com/package/@extra-iterable/starts-with)
- [endsWith](https://www.npmjs.com/package/@extra-iterable/ends-with)
- [indexOf](https://www.npmjs.com/package/@extra-iterable/index-of)
- [indicesOf](https://www.npmjs.com/package/@extra-iterable/indices-of)
- [lastIndexOf](https://www.npmjs.com/package/@extra-iterable/last-index-of)
- [includes](https://www.npmjs.com/package/@extra-iterable/includes)
- [contains](https://www.npmjs.com/package/@extra-iterable/contains)
Transform methods:
- [from](https://www.npmjs.com/package/iterable-from)
- [join](https://www.npmjs.com/package/iterable-join)
- [pick](https://www.npmjs.com/package/iterable-pick)
- [pickAs](https://www.npmjs.com/package/iterable-pickas)
- [slice](https://www.npmjs.com/package/iterable-slice)
- [compact](https://www.npmjs.com/package/iterable-compact)
- [without](https://www.npmjs.com/package/iterable-without)
- [concat](https://www.npmjs.com/package/iterable-concat)
- [flatten](https://www.npmjs.com/package/iterable-flatten)
- [zip](https://www.npmjs.com/package/iterable-zip)
- [unzip](https://www.npmjs.com/package/iterable-zip)
- [replace](https://www.npmjs.com/package/iterable-replaceto)
- [mapReplace](https://www.npmjs.com/package/iterable-mapreplace)
- [objectReplace](https://www.npmjs.com/package/iterable-objectreplace)
- [reverse](https://www.npmjs.com/package/iterable-reverse)
- [split](https://www.npmjs.com/package/iterable-split)
- [repeat](https://www.npmjs.com/package/iterable-repeat)
- [from](https://www.npmjs.com/package/@extra-iterable/from)
- [join](https://www.npmjs.com/package/@extra-iterable/join)
- [pick](https://www.npmjs.com/package/@extra-iterable/pick)
- [pickAs](https://www.npmjs.com/package/@extra-iterable/pick-as)
- [slice](https://www.npmjs.com/package/@extra-iterable/slice)
- [compact](https://www.npmjs.com/package/@extra-iterable/compact)
- [without](https://www.npmjs.com/package/@extra-iterable/without)
- [concat](https://www.npmjs.com/package/@extra-iterable/concat)
- [flatten](https://www.npmjs.com/package/@extra-iterable/flatten)
- [zip](https://www.npmjs.com/package/@extra-iterable/zip)
- [unzip](https://www.npmjs.com/package/@extra-iterable/zip)
- [replace](https://www.npmjs.com/package/@extra-iterable/replace)
- [mapReplace](https://www.npmjs.com/package/@extra-iterable/map-replace)
- [objectReplace](https://www.npmjs.com/package/@extra-iterable/object-replace)
- [reverse](https://www.npmjs.com/package/@extra-iterable/reverse)
- [split](https://www.npmjs.com/package/@extra-iterable/split)
- [repeat](https://www.npmjs.com/package/@extra-iterable/repeat)
Functional methods:
- [forEach](https://www.npmjs.com/package/iterable-foreach)
- [some](https://www.npmjs.com/package/iterable-someof)
- [every](https://www.npmjs.com/package/iterable-everyof)
- [find](https://www.npmjs.com/package/iterable-find)
- [findIndex](https://www.npmjs.com/package/iterable-findindex)
- [findAll](https://www.npmjs.com/package/iterable-findall)
- [findAllIndices](https://www.npmjs.com/package/iterable-findallindices)
- [reduce](https://www.npmjs.com/package/iterable-reduce)
- [filter](https://www.npmjs.com/package/iterable-filter)
- [map](https://www.npmjs.com/package/iterable-mapto)
- [forEach](https://www.npmjs.com/package/@extra-iterable/for-each)
- [some](https://www.npmjs.com/package/@extra-iterable/some)
- [every](https://www.npmjs.com/package/@extra-iterable/every)
- [find](https://www.npmjs.com/package/@extra-iterable/find)
- [findIndex](https://www.npmjs.com/package/@extra-iterable/find-index)
- [findAll](https://www.npmjs.com/package/@extra-iterable/find-all)
- [findAllIndices](https://www.npmjs.com/package/@extra-iterable/find-all-indices)
- [reduce](https://www.npmjs.com/package/@extra-iterable/reduce)
- [filter](https://www.npmjs.com/package/@extra-iterable/filter)
- [map](https://www.npmjs.com/package/@extra-iterable/map)
Evaluate methods:
- [any](https://www.npmjs.com/package/iterable-any)
- [all](https://www.npmjs.com/package/iterable-all)
- [max](https://www.npmjs.com/package/iterable-max)
- [min](https://www.npmjs.com/package/iterable-min)
- [sum](https://www.npmjs.com/package/iterable-sum)
- [average](https://www.npmjs.com/package/iterable-average)
- [hammingDistance](https://www.npmjs.com/package/iterable-hammingdistance)
- [euclideanDistance](https://www.npmjs.com/package/iterable-euclideandistance)
- [any](https://www.npmjs.com/package/@extra-iterable/any)
- [all](https://www.npmjs.com/package/@extra-iterable/all)
- [max](https://www.npmjs.com/package/@extra-iterable/max)
- [min](https://www.npmjs.com/package/@extra-iterable/min)
- [sum](https://www.npmjs.com/package/@extra-iterable/sum)
- [average](https://www.npmjs.com/package/@extra-iterable/average)
- [hammingDistance](https://www.npmjs.com/package/@extra-iterable/hamming-distance)
- [euclideanDistance](https://www.npmjs.com/package/@extra-iterable/euclidean-distance)
[iterable]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
[iterable-extra.min]: https://www.npmjs.com/package/iterable-extra.min
[extra-iterable.min]: https://www.npmjs.com/package/extra-iterable.min
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc