Skip to content

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

License

Notifications You must be signed in to change notification settings

fabiospampinato/mild-set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published