https://github.com/dy/weakset
Weakset polyfill.
https://github.com/dy/weakset
Last synced: 9 months ago
JSON representation
Weakset polyfill.
- Host: GitHub
- URL: https://github.com/dy/weakset
- Owner: dy
- License: mit
- Created: 2014-09-25T08:50:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-21T15:34:31.000Z (over 10 years ago)
- Last Synced: 2025-09-11T00:22:32.524Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WeakSet [](https://travis-ci.org/dfcreative/weakset) [](https://codeclimate.com/github/dfcreative/weakset) 
A tiny leak-free weakset polyfill. _276 bytes gzipped_.
Implements [polymer’s WeakMap](https://github.com/polymer/WeakMap) approach to store keys.
## Use
`$ npm install weakset`
```js
var WeakSet = require('weakset');
```
or in-browser
```html
```
[](https://nodei.co/npm/weakset/)