weak-map : A WeakMap shim for Node.js and browsers. You can installing weak-map npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install weak-map $ sudo npm install -g weak-map
If want to update the weak-map package execute the command as below,
$ sudo npm update weak-map
Update package globally,
$ npm install -g weak-map
$ sudo git clone https://github.com/rektide/weak-map.git
$ sudo npm install -g ./weak-map
weak-map@1.0.5 /usr/lib/node_modules/weak-map
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall weak-map
| Package Name | weak-map |
| Version | 1.0.5 |
| Description | A WeakMap shim for Node.js and browsers |
| Released Date | 2014-05-29T02:41:33.030Z |
| Published by | kriskowal |
| How to Learn | https://www.npmjs.com/package/weak-map/tutorial |