I created this because I could not find any actual set object implementations in JavaScript that included functions such as union and intersect. Also, I wanted to learn a bit more about creating node modules.
It can be used in the browser, as well, by removing the last line in the set.js file. I will make it so it works in either without any effort later on.Let me know what you think.