# @ungap/weakset

> WeakSet for IE11 and engines with a WeakMap

Latest version **0.2.1** (published 2020-06-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ungap/weakset
pnpm add @ungap/weakset
yarn add @ungap/weakset
bun add @ungap/weakset
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2020-06-21 |
| First published | 2018-11-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Andrea Giammarchi |
| Maintainers | webreflection |
| Keywords | WeakSet, polyfill, legacy |

## Links

- npm: https://www.npmjs.com/package/@ungap/weakset
- Repository: https://github.com/ungap/weakset
- Homepage: https://github.com/ungap/weakset#readme
- Issues: https://github.com/ungap/weakset/issues
- npm.io page: https://npm.io/package/@ungap/weakset

## Recent versions

- 0.2.1 (latest) — 2020-06-21
- 0.2.0 — 2020-05-02
- 0.1.5 — 2018-11-23
- 0.1.4 — 2018-11-22
- 0.1.3 — 2018-11-21
- 0.1.2 — 2018-11-21
- 0.1.1 — 2018-11-21
- 0.1.0 — 2018-11-21

## README

# WeakSet

[![Build Status](https://travis-ci.com/ungap/weakset.svg?branch=master)](https://travis-ci.com/ungap/weakset) [![Coverage Status](https://coveralls.io/repos/github/ungap/weakset/badge.svg?branch=master)](https://coveralls.io/github/ungap/weakset?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ungap/weakset.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg)

A polyfill for IE11 or browsers that have a WeakMap, but not a [WeakSet](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet).

  * CDN via https://unpkg.com/@ungap/weakset
  * ESM via `import WeakSet from '@ungap/weakset'`
  * CJS via `const WeakSet = require('@ungap/weakset')`

Compatible down to IE9, works well with ES5 shim upfront in IE8 (and maybe lower too).

[Live test](https://ungap.github.io/weakset/test/)

---
_Source: https://npm.io/package/@ungap/weakset · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
