ChainyJS
Unique action forChainy action that rejects duplicates inside the chain's data array, based on the item itself, or a particular field
Can optionally accept a single argument specifying a field to check for duplicates for
// Unique by item// [1, 2, 3]// Unique by item field// [{id:1}, {id:2}]
Install
NPM
- Use:
require('chainy-plugin-uniq')
- Install:
npm install --save chainy-plugin-uniq
Browserify
- Use:
require('chainy-plugin-uniq')
- Install:
npm install --save chainy-plugin-uniq
- CDN URL:
//wzrd.in/bundle/chainy-plugin-uniq@1.0.0
Ender
- Use:
require('chainy-plugin-uniq')
- Install:
ender add chainy-plugin-uniq
History
Discover the change history by heading on over to the HISTORY.md
file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Backers
Maintainers
These amazing people are maintaining this project:
- Benjamin Lupton b@lupton.cc (https://github.com/balupton)
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
License
Licensed under the incredibly permissive MIT license
Copyright © 2014+ Bevry Pty Ltd us@bevry.me (http://bevry.me)