plainJS

Libraries / UI

tablesort

A small tablesorter in plain JavaScript

No-build verifiedActive0 dependenciesScript tagMIT

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size3.4 KB minified, 1.5 KB gzipped (src/tablesort.js)
LicenceMIT
Dependenciesnone
Last releasev5.7.1, April 2026
Last activity2026-04-15 (Active)
Stars1,145 on GitHub
Formatsclassic script (global Tablesort)
CDN hits780,421 a month on jsDelivr
npm downloads2.4 million a month
GatesG1 passed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 passed (open-source licence); G5 passed (not archived or deprecated). Smoke test on v5.7.1 in headless Chromium, 2026-10-30

Load it

Pin the version. The hash is computed from the file jsDelivr serves, so a changed file fails to load instead of running.

htmlscript tag, with SRI
<script src="https://cdn.jsdelivr.net/npm/[email protected]/src/tablesort.js"
        integrity="sha384-r2ptQwpR6joObO1+/Jxasg6mTq1v77madxQhhf4rRFiinyLMRZwvOuG17r6Xiyej" crossorigin="anonymous"></script>
Advertisement

Entry 68 in the directory. Facts refreshed monthly; last run 2026-10-30.