This is amazing how many wonderful JS repositories and libraries appear every day. We are trying to choose the most interesting and share with you. Today is not an exception. Meet Collect.js dependency-free wrapper for arrays and objects.
Let’s start with the fact that it’s a very convenient wrapper for working with arrays and objects. What other features can we mention? Let’s think.
- Using this tool you can get a beautiful API with names and conventions that make sense.
- Collect.js can be extended using macros.
- The identical API is offered to Laravel collections.
To get started you need to code:
npm install collect.js --save
yarn add collect.js
Add CDN link to your site with
And it’s it. You can use it! Explore the details here.