- Get started

  - Installation
  - Usage

- API

  - all()
  - average()
  - avg()
  - chunk()
  - collapse()
  - combine()
  - concat()
  - contains()
  - count()
  - countBy()
  - crossJoin()
  - dd()
  - diff()
  - diffAssoc()
  - diffKeys()
  - dump()
  - duplicates()
  - each()
  - eachSpread()
  - every()
  - except()
  - filter()
  - first()
  - firstWhere()
  - flatMap()
  - flatten()
  - flip()
  - forPage()
  - forget()
  - get()
  - groupBy()
  - has()
  - implode()
  - intersect()
  - intersectByKeys()
  - isEmpty()
  - isNotEmpty()
  - join()
  - keyBy()
  - keys()
  - last()
  - macro()
  - make()
  - map()
  - mapInto()
  - mapSpread()
  - mapToDictionary()
  - mapToGroups()
  - mapWithKeys()
  - max()
  - median()
  - merge()
  - mergeRecursive()
  - min()
  - mode()
  - nth()
  - only()
  - pad()
  - partition()
  - pipe()
  - pluck()
  - pop()
  - prepend()
  - pull()
  - push()
  - put()
  - random()
  - reduce()
  - reject()
  - replace()
  - replaceRecursive()
  - reverse()
  - search()
  - shift()
  - shuffle()
  - slice()
  - some()
  - sort()
  - sortBy()
  - sortByDesc()
  - sortKeys()
  - sortKeysDesc()
  - splice()
  - split()
  - sum()
  - take()
  - tap()
  - times()
  - toArray()
  - toJson()
  - transform()
  - union()
  - unique()
  - unless()
  - unlessEmpty()
  - unlessNotEmpty()
  - unwrap()
  - values()
  - when()
  - whenEmpty()
  - whenNotEmpty()
  - where()
  - whereBetween()
  - whereIn()
  - whereInstanceOf()
  - whereNotBetween()
  - whereNotIn()
  - wrap()
  - zip()

# collect.js

Convenient and dependency free wrapper for working with arrays and objects.

Get Started →

## 📄 Beautiful API

Enjoy a beautiful API with names and conventions that makes sense.

## 🏗 Extendable

Want to customize? Collect.js can be extended using macros

## ❤️ Collect.js + Laravel

A match made in heaven. Collect.js offers an identical api to Laravel collections.

MIT Licensed | Copyright © Daniel Eckermann