# classlist-polyfill

> Cross-browser JavaScript shim that fully implements element.classList (referenced on MDN)

Latest version **1.2.0** (published 2017-05-02) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install classlist-polyfill
pnpm add classlist-polyfill
yarn add classlist-polyfill
bun add classlist-polyfill
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2017-05-02 |
| First published | 2015-03-05 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 56 |
| Author | Eli Grey |
| Maintainers | yola |
| Keywords | classList, polyfill, shim, cross-browser |

## Links

- npm: https://www.npmjs.com/package/classlist-polyfill
- Repository: https://github.com/yola/classlist-polyfill
- Issues: https://github.com/eligrey/classList.js/issues
- npm.io page: https://npm.io/package/classlist-polyfill

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2017-05-02
- 1.0.3 — 2016-04-18
- 1.0.2 — 2015-07-14
- 1.0.1 — 2015-05-19
- 1.0.0 — 2015-03-05

## README

# classlist-polyfill

Polyfill for [`element.classList`][docs].

This is a published fork of [classList.js][].

[classList.js]:https://github.com/eligrey/classList.js
[docs]: https://developer.mozilla.org/en/DOM/element.classList


## Installation

Download using [NPM](https://www.npmjs.com/package/classlist-polyfill):

```shell
npm install classlist-polyfill
```

Download using [Bower](http://bower.io/):

```shell
bower install classlist-polyfill
```


## What is the purpose of this repo?

The upstream maintainer has decided [not to publish][comment].

[comment]: https://github.com/eligrey/classList.js/pull/46#issuecomment-189782600


## Contributing

Preferably all changes are made upstream.

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