Cross-browser JavaScript shim that fully implements element.classList (referenced on MDN)
npm install classlist-polyfillPolyfill 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
Download using NPM:
``shell`
npm install classlist-polyfill
Download using Bower:
`shell``
bower install classlist-polyfill
The upstream maintainer has decided [not to publish][comment].
[comment]: https://github.com/eligrey/classList.js/pull/46#issuecomment-189782600
Preferably all changes are made upstream.