eligrey/classList.js
eligrey/classList.js has 1,098 GitHub stars and 224 forks. Star changes are not measured yet. Last checked 2026-11-09 10:18 UTC. Last push 2018-10-18.
Cross-browser element.classList
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalclassList.js is a cross-browser JavaScript shim that fully implements element.classList. Refer to the MDN page on element.classList for more information.
This works in every browser except IE 7 or earlier.
classList.js is available on these public CDN URLs, allowing you to use this already small file at nearly zero size overhead.
- https://cdnjs.cloudflare.com/ajax/libs/classlist/1.2.20171210/classList.min.js
- https://cdn.jsdelivr.net/npm/[email protected]/classList.min.js
If you would like other versions (such as the current one) hosted there, follow the instructions at https://github.com/jsdelivr/jsdelivr and https://github.com/cdnjs/cdnjs to prepare a pull request.

Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,611 starspublic-apis/public-apis
A collective list of free APIs
497,932 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
449,912 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,301 stars