You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
602 B
27 lines
602 B
### Installation
|
|
|
|
#### NPM
|
|
|
|
```bash
|
|
npm install collect.js --save
|
|
```
|
|
|
|
#### Yarn
|
|
|
|
```bash
|
|
yarn add collect.js
|
|
```
|
|
|
|
#### From CDN
|
|
|
|
1. Visit https://cdnjs.com/libraries/collect.js
|
|
2. Add CDN link to your site with `<script>`
|
|
|
|
#### Using build / minified version
|
|
|
|
1. Download [`collect.min.js`](https://github.com/ecrmnn/collect.js/blob/master/build/collect.min.js)
|
|
2. Add to your site with `<script>`
|
|
|
|
### Tip
|
|
|
|
Using Laravel as your backend? Collect.js offers an (almost) identical api to [Laravel Collections](https://laravel.com/docs/master/collections). [See differences](#strictness-and-comparisons). |