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.
- Host: GitHub
- URL: https://github.com/tom-sherman/set-operations-js
- Owner: tom-sherman
- License: mit
- Created: 2018-09-20T12:29:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-26T14:53:22.000Z (over 6 years ago)
- Last Synced: 2025-02-05T01:41:53.106Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 71.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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