betterset
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

BetterSet

A simple extension of the inbuilt javascript Set object, adding some set operation functions.

Functions

As well as all the standard javascript functions, the BetterSet adds these set operation functions:

  • addAll
  • complement
  • deleteAll
  • difference
  • equals
  • intersection
  • union

It also includes convenience functions which mimic Array behaviour.

  • map
  • reduce

Build Status Coverage Status Dependencies Dev Dependencies

Package Sidebar

Install

npm i betterset

Weekly Downloads

8

Version

3.0.2

License

MIT

Unpacked Size

27.8 kB

Total Files

9

Last publish

Collaborators

  • strongpauly