Skip to content

fabiospampinato/mild-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MildMap

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

Install

npm install --save mild-map

Usage

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

It also implements the size property, like a Map.

License

MIT © Fabio Spampinato

About

A WeakMap 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