One script.
Four superpowers.
jsKjs is a modern, zero-dependency JavaScript library that is drop-in compatible with the jQuery API — and folds in declarative AJAX from htmx, reactivity from Alpine.js, and a real animation engine from GSAP. All in ~7.7 KB gzipped.
<script src="https://jskjs.org/cdn/jskjs.min.js"></script>
Four subsystems, one $
Selectors, chaining, events with delegation, traversal, fetch-powered AJAX. Your muscle memory works on day one.
$('#list').on('click', 'li', function () {
$(this).toggleClass('done').fadeOut(400);
});
AJAX described in HTML attributes. Live search, polling, lazy loading, form posts — without writing a handler.
<input name="q" kj-get="/api/search"
kj-trigger="keyup delay:300ms"
kj-target="#results">
Reactive state declared on the element. No virtual DOM, no build step, no framework ceremony.
<div kj-data="{ count: 0 }">
<button @click="count++">+1</button>
<span kj-text="count"></span>
</div>
A real tween engine: transforms, pro easings, stagger, timelines. Promise-based and 60fps.
$.from('.card', { y: 30, opacity: 0,
duration: .5, stagger: .08,
ease: 'power2.out' });
Why teams pick jsKjs
| jQuery + htmx + Alpine + GSAP | jsKjs | |
|---|---|---|
| Files to load | 4 | 1 |
| Gzipped weight | ~90 KB+ | ~7.7 KB |
| Dependencies & release cycles | 4 | 0 |
| Selector engine | Sizzle + shims | Native querySelectorAll |
| AJAX transport | XMLHttpRequest | fetch + Promises |
| Legacy browser baggage | Lots | None (evergreen only) |
Supports Chrome 90+, Firefox 90+, Safari 15+, Edge 90+. No IE, no polyfills — that's where the savings come from.
Built for vibe coding
jsKjs was designed in the AI-assisted era. One file, one mental model, a small declarative surface, and millions of lines of jQuery in every model's training data — so AI assistants generate correct jsKjs on the first try. Ship a single HTML file, refresh, smile.
// Paste into your AI assistant's context:
// "Use jsKjs (jQuery-compatible $). Prefer kj-get/kj-post/kj-target
// attributes for AJAX and kj-data/@click/kj-text for UI state.
// $.to() for animation (seconds). One script tag, no other libraries."
Ready-made context files ship with the library: AI-GUIDE.md (paste anywhere) and SKILL.md (a Claude skill).
Open source, openly authored
jsKjs is released as open source under the MIT license. It was authored by Karan Checker together with Claude (Fable 5 / Opus 4.8), Anthropic's AI models — a library for the vibe-coding era, built the vibe-coding way.