Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 837 Bytes

.verb.md

File metadata and controls

49 lines (32 loc) · 837 Bytes

{%= name %} {%= badge("fury") %}

{%= description %}

Based on [mout's][mout] implementation of intersection.

Install

Install with NPM {%= include("install-npm", {save: true}) %}

Install with Bower {%= include("install-bower", {save: true}) %}

Usage

var intersection = require('{%= name %}');

intersection(['a', 'a', 'c'])
//=> ['a', 'c']

intersection(['a', 'b', 'c'], ['b', 'c', 'e'])
//=> ['b', 'c']

intersection(['a', 'b', 'c'], ['b', 'c', 'e'], ['b', 'c', 'e'])
//=> ['b', 'c']

Related projects

{%= related(Object.keys(dependencies).concat(['arr-union'])) %}

Running tests

{%= include("tests") %}

Contributing

{%= include("contributing") %}

Author

{%= include("author") %}

License

{%= copyright() %} {%= license() %}


{%= include("footer") %}

{%= reflinks(['mout']) %}