An open API service indexing awesome lists of open source software.

https://github.com/tom-sherman/set-operations-js

Performant Javascript set operations. Your Set's best friend.
https://github.com/tom-sherman/set-operations-js

Last synced: 2 months ago
JSON representation

Performant Javascript set operations. Your Set's best friend.

Awesome Lists containing this project

README

        

# set-operations
> Your Set's best friend.

`setOps` provides helpful methods for native Javascript [Sets](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) such as union, difference, equality and so much more.

The goals of this project is to introduce [set theory](https://en.wikipedia.org/wiki/Set_theory) whilst providing a usable and minimal API.

## Operations

* Superset and Subset
* Equality
* Mutually exclusive
* Union
* Complement
* Dyadic difference
* Symmetric difference
* Intersection
* Cartesian product
* Power sets