Ninja Pumpkin Mutants

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

    3.0.0 • 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

    Install

    npm i betterset

    DownloadsWeekly Downloads

    235

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    24.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • strongpauly