Need private packages and team management tools?Check out npm Teams »

just-intersect

3.1.0 • Public • Published

just-intersect

Part of a library of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.

Try it now

import intersect from 'just-intersect';
 
intersect([1, 2, 5, 6], [2, 3, 5, 6]); // [2, 5, 6]
intersect([1, 2, 2, 4, 5], [3, 2, 2, 5, 7]); // [2, 5]  

Install

npm i just-intersect

DownloadsWeekly Downloads

139

Version

3.1.0

License

MIT

Unpacked Size

2.43 kB

Total Files

4

Last publish

Collaborators

  • avatar