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

collect.js

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collect.js - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "collect.js",
"version": "2.0.0",
"version": "2.0.1",
"description": "Convenient and dependency free wrapper for working with arrays and objects.",

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

@@ -20,70 +20,70 @@ # <img src="https://raw.githubusercontent.com/ecrmnn/collect.js/master/collectjs.jpg" alt="collect.js">

### Usage
All | available | methods
[all](#all)
[avg](#avg)
[chunk](#chunk)
[collapse](#collapse)
[combine](#combine)
[contains](#contains)
[count](#count)
[diff](#diff)
[diffKeys](#diffkeys)
[each](#each)
[every](#every)
[except](#except)
[filter](#filter)
[first](#first)
[flatMap](#flatmap)
[flatten](#flatten)
[flip](#flip)
[forget](#forget)
[forPage](#forpage)
[get](#get)
[groupBy](#groupby)
[has](#has)
[implode](#implode)
[intersect](#intersect)
[isEmpty](#isempty)
[keyBy](#keyby)
[keys](#keys)
[last](#last)
[map](#map)
[mapWithKeys](#mapwithkeys)
[max](#max)
[merge](#merge)
[min](#min)
[nth](#nth)
[only](#only)
[pipe](#pipe)
[pluck](#pluck)
[pop](#pop)
[prepend](#prepend)
[pull](#pull)
[push](#push)
[put](#put)
[random](#random)
[reduce](#reduce)
[reject](#reject)
[reverse](#reverse)
[search](#search)
[shift](#shift)
[shuffle](#shuffle)
[slice](#slice)
[sort](#sort)
[sortBy](#sortby)
[sortByDesc](#sortbydesc)
[splice](#splice)
[sum](#sum)
[take](#take)
[toArray](#toarray)
[toJson](#tojson)
[transform](#transform)
[union](#union)
[unique](#unique)
[values](#values)
[where](#where)
[whereIn](#wherein)
[whereInLoose](#whereinloose)
[whereStrict](#wherestrict)
[zip](#zip)
All available methods
- [all](#all)
- [avg](#avg)
- [chunk](#chunk)
- [collapse](#collapse)
- [combine](#combine)
- [contains](#contains)
- [count](#count)
- [diff](#diff)
- [diffKeys](#diffkeys)
- [each](#each)
- [every](#every)
- [except](#except)
- [filter](#filter)
- [first](#first)
- [flatMap](#flatmap)
- [flatten](#flatten)
- [flip](#flip)
- [forget](#forget)
- [forPage](#forpage)
- [get](#get)
- [groupBy](#groupby)
- [has](#has)
- [implode](#implode)
- [intersect](#intersect)
- [isEmpty](#isempty)
- [keyBy](#keyby)
- [keys](#keys)
- [last](#last)
- [map](#map)
- [mapWithKeys](#mapwithkeys)
- [max](#max)
- [merge](#merge)
- [min](#min)
- [nth](#nth)
- [only](#only)
- [pipe](#pipe)
- [pluck](#pluck)
- [pop](#pop)
- [prepend](#prepend)
- [pull](#pull)
- [push](#push)
- [put](#put)
- [random](#random)
- [reduce](#reduce)
- [reject](#reject)
- [reverse](#reverse)
- [search](#search)
- [shift](#shift)
- [shuffle](#shuffle)
- [slice](#slice)
- [sort](#sort)
- [sortBy](#sortby)
- [sortByDesc](#sortbydesc)
- [splice](#splice)
- [sum](#sum)
- [take](#take)
- [toArray](#toarray)
- [toJson](#tojson)
- [transform](#transform)
- [union](#union)
- [unique](#unique)
- [values](#values)
- [where](#where)
- [whereIn](#wherein)
- [whereInLoose](#whereinloose)
- [whereStrict](#wherestrict)
- [zip](#zip)

@@ -90,0 +90,0 @@ #### ``all()``

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