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

1.1.1 • Public • Published

MildSet

A WeakSet that supports any value, it holds strong references to primitives, and weak references to objects.

Install

npm install --save mild-set

Usage

It has the same API of a WeakSet, except that it just works with primitives too.

It also implements the size property, like a Set.

License

MIT © Fabio Spampinato

/mild-set/

    Package Sidebar

    Install

    npm i mild-set

    Weekly Downloads

    1

    Version

    1.1.1

    License

    none

    Unpacked Size

    7.78 kB

    Total Files

    9

    Last publish

    Collaborators

    • fabiospampinato