Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

domtokenlist-shim

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

domtokenlist-shim

A super strict shim/polyfill for DOMTokenList

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
177
decreased by-49.28%
Maintainers
1
Weekly downloads
 
Created
Source

DOMTokenList shim

A super strict shim/polyfill for DOMTokenList, classList and relList. Small, < 1 kB minified and gzipped (~ 2kB minified).

Usage

All you need to do is include the JavaScript file and everything will be ready to go. If native DOMTokenList support is detected, nothing will be done.

<script src="domtokenlist.min.js"></script>

Browser support

  • Android - 2.3+
  • Edge - Current version and one version earlier
  • Google Chrome - Current version and one version earlier
  • Internet Explorer - 8+
  • iOS - 6.1+
  • Mozilla Firefox - Current version and one version earlier
  • Opera - Current version and one version earlier
  • Safari - 5.1+

License

MIT license. See LICENSE.md for more information.

Credits

Developed by Jonathan Wilsson and Bogdan Chadkin.

A big thanks to BrowserStack for sponsoring our test environment.

BrowserStack

Keywords

FAQs

Package last updated on 13 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc