4.3.0 • Published 1 year ago

just-intersect v4.3.0

Weekly downloads
1,505
License
MIT
Repository
github
Last release
1 year ago

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

npm install just-intersect
yarn add just-intersect

Return the intersect of two arrays

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]  
4.3.0

1 year ago

4.2.1

2 years ago

4.2.0

2 years ago

4.1.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.0.2

2 years ago

3.4.0

3 years ago

3.3.0

3 years ago

3.4.1

3 years ago

3.2.0

3 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.0.0

7 years ago

1.1.22

8 years ago

1.1.21

8 years ago

1.1.20

8 years ago

1.1.19

8 years ago

1.1.18

8 years ago

1.1.17

8 years ago