Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 353 Bytes

readme.md

File metadata and controls

19 lines (11 loc) · 353 Bytes

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