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

extra-array

Package Overview
Dependencies
Maintainers
1
Versions
856
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extra-array - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

2

package.json
{
"name": "extra-array",
"version": "0.1.7",
"version": "0.1.8",
"description": "Extra methods for array.",

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

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

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

@@ -17,66 +12,66 @@ // extra.equal(<array-1>, <array-2>)

Datatype methods:
- [is](https://www.npmjs.com/package/array-is)
- [is](https://www.npmjs.com/package/@extra-array/is)
About methods:
- [equal](https://www.npmjs.com/package/array-equalto)
- [first](https://www.npmjs.com/package/array-firstof)
- [middle](https://www.npmjs.com/package/array-middleof)
- [last](https://www.npmjs.com/package/array-lastof)
- [values](https://www.npmjs.com/package/array-values)
- [equal](https://www.npmjs.com/package/@extra-array/equal)
- [first](https://www.npmjs.com/package/@extra-array/first)
- [middle](https://www.npmjs.com/package/@extra-array/middle)
- [last](https://www.npmjs.com/package/@extra-array/last)
- [values](https://www.npmjs.com/package/@extra-array/values)
Generate methods:
- [arange](https://www.npmjs.com/package/array-arange)
- [linspace](https://www.npmjs.com/package/array-linspace)
- [arange](https://www.npmjs.com/package/@extra-array/arange)
- [linspace](https://www.npmjs.com/package/@extra-array/linspace)
Search methods:
- [indexOf](https://www.npmjs.com/package/array-indexfor)
- [indicesOf](https://www.npmjs.com/package/array-indicesof)
- [lastIndexOf](https://www.npmjs.com/package/array-lastindexof)
- [includes](https://www.npmjs.com/package/array-includesit)
- [includesOnly](https://www.npmjs.com/package/array-includesonly)
- [contains](https://www.npmjs.com/package/array-containsit)
- [count](https://www.npmjs.com/package/array-count)
- [countAll](https://www.npmjs.com/package/array-countall)
- [indexOf](https://www.npmjs.com/package/@extra-array/index-of)
- [indicesOf](https://www.npmjs.com/package/@extra-array/indices-of)
- [lastIndexOf](https://www.npmjs.com/package/@extra-array/last-index-of)
- [includes](https://www.npmjs.com/package/@extra-array/includes)
- [includesOnly](https://www.npmjs.com/package/@extra-array/includes-only)
- [contains](https://www.npmjs.com/package/@extra-array/contains)
- [count](https://www.npmjs.com/package/@extra-array/count)
- [countAll](https://www.npmjs.com/package/@extra-array/count-all)
Transform methods:
- [fromEntries](https://www.npmjs.com/package/array-fromentries)
- [fromLists](https://www.npmjs.com/package/array-fromlists)
- [join](https://www.npmjs.com/package/array-jointo)
- [pick](https://www.npmjs.com/package/array-pick)
- [pickAs](https://www.npmjs.com/package/array-pickas)
- [slice](https://www.npmjs.com/package/array-sliceto)
- [copy](https://www.npmjs.com/package/array-copyto)
- [move](https://www.npmjs.com/package/array-moveto)
- [compact](https://www.npmjs.com/package/array-compactto)
- [reverse](https://www.npmjs.com/package/array-reverseto)
- [sort](https://www.npmjs.com/package/array-sortto)
- [sortIndex](https://www.npmjs.com/package/array-sortindex)
- [zipObject](https://www.npmjs.com/package/array-zipobject)
- [append](https://www.npmjs.com/package/array-append)
- [repeat](https://www.npmjs.com/package/array-repeatto)
- [fromEntries](https://www.npmjs.com/package/@extra-array/from-entries)
- [fromLists](https://www.npmjs.com/package/@extra-array/from-lists)
- [join](https://www.npmjs.com/package/@extra-array/join)
- [pick](https://www.npmjs.com/package/@extra-array/pick)
- [pickAs](https://www.npmjs.com/package/@extra-array/pick-as)
- [slice](https://www.npmjs.com/package/@extra-array/slice)
- [copy](https://www.npmjs.com/package/@extra-array/copy)
- [move](https://www.npmjs.com/package/@extra-array/move)
- [compact](https://www.npmjs.com/package/@extra-array/compact)
- [reverse](https://www.npmjs.com/package/@extra-array/reverse)
- [sort](https://www.npmjs.com/package/@extra-array/sort)
- [sortIndex](https://www.npmjs.com/package/@extra-array/sort-index)
- [zipObject](https://www.npmjs.com/package/@extra-array/zip-object)
- [append](https://www.npmjs.com/package/@extra-array/append)
- [repeat](https://www.npmjs.com/package/@extra-array/repeat)
Functional methods:
- [forEach](https://www.npmjs.com/package/array-foreachof)
- [some](https://www.npmjs.com/package/array-someof)
- [every](https://www.npmjs.com/package/array-everyof)
- [find](https://www.npmjs.com/package/array-findin)
- [findIndex](https://www.npmjs.com/package/array-findindexof)
- [findAll](https://www.npmjs.com/package/array-findall)
- [findAllIndices](https://www.npmjs.com/package/array-findallindices)
- [reduce](https://www.npmjs.com/package/array-reduceby)
- [filter](https://www.npmjs.com/package/array-filterto)
- [map](https://www.npmjs.com/package/array-mapto)
- [forEach](https://www.npmjs.com/package/@extra-array/for-each)
- [some](https://www.npmjs.com/package/@extra-array/some)
- [every](https://www.npmjs.com/package/@extra-array/every)
- [find](https://www.npmjs.com/package/@extra-array/find)
- [findIndex](https://www.npmjs.com/package/@extra-array/find-index)
- [findAll](https://www.npmjs.com/package/@extra-array/find-all)
- [findAllIndices](https://www.npmjs.com/package/@extra-array/find-all-indices)
- [reduce](https://www.npmjs.com/package/@extra-array/reduce)
- [filter](https://www.npmjs.com/package/@extra-array/filter)
- [map](https://www.npmjs.com/package/@extra-array/map)
Evaluate methods:
- [any](https://www.npmjs.com/package/array-any)
- [all](https://www.npmjs.com/package/array-allof)
- [max](https://www.npmjs.com/package/array-maxof)
- [min](https://www.npmjs.com/package/array-minof)
- [sum](https://www.npmjs.com/package/array-sumof)
- [average](https://www.npmjs.com/package/array-average)
- [hammingDistance](https://www.npmjs.com/package/array-hammingdistance)
- [euclideanDistance](https://www.npmjs.com/package/array-euclideandistance)
- [any](https://www.npmjs.com/package/@extra-array/any)
- [all](https://www.npmjs.com/package/@extra-array/all)
- [max](https://www.npmjs.com/package/@extra-array/max)
- [min](https://www.npmjs.com/package/@extra-array/min)
- [sum](https://www.npmjs.com/package/@extra-array/sum)
- [average](https://www.npmjs.com/package/@extra-array/average)
- [hammingDistance](https://www.npmjs.com/package/@extra-array/hamming-distance)
- [euclideanDistance](https://www.npmjs.com/package/@extra-array/euclidean-distance)
[array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Indexed_collections
[array-extra.min]: https://www.npmjs.com/package/array-extra.min
[extra-array.min]: https://www.npmjs.com/package/extra-array.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