An open API service indexing awesome lists of open source software.

https://github.com/dy/weakset

Weakset polyfill.
https://github.com/dy/weakset

Last synced: 9 months ago
JSON representation

Weakset polyfill.

Awesome Lists containing this project

README

          

# WeakSet [![Build Status](https://travis-ci.org/dfcreative/weakset.svg?branch=master)](https://travis-ci.org/dfcreative/weakset) [![Code Climate](https://codeclimate.com/github/dfcreative/weakset/badges/gpa.svg)](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

```

[![NPM](https://nodei.co/npm/weakset.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/weakset/)