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.

26 lines
602 B

4 years ago
  1. ### Installation
  2. #### NPM
  3. ```bash
  4. npm install collect.js --save
  5. ```
  6. #### Yarn
  7. ```bash
  8. yarn add collect.js
  9. ```
  10. #### From CDN
  11. 1. Visit https://cdnjs.com/libraries/collect.js
  12. 2. Add CDN link to your site with `<script>`
  13. #### Using build / minified version
  14. 1. Download [`collect.min.js`](https://github.com/ecrmnn/collect.js/blob/master/build/collect.min.js)
  15. 2. Add to your site with `<script>`
  16. ### Tip
  17. 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).