jQuery

A fast, small, feature-rich JavaScript library for DOM traversal, event handling, animation, and Ajax with a concise, chainable API.

Library
npm
v4.0.0
59,782stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
82/100Excellent
Development Activity76
Maintenance52
Community100
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
66/100Good
Architecture78
Code Quality82
Innovation45
Learning Curve60

jQuery is a JavaScript library built around a single core abstraction: wrap a set of DOM elements in a jQuery object and chain method calls across the whole set. Its src/ tree is organized into focused modules — ajax, attributes, css, data, deferred, dimensions, effects, event, manipulation, offset, queue, selector, serialize, traversing, and wrap — that all attach onto the shared jQuery.fn prototype, so every module operates on the same element-collection abstraction rather than reinventing its own API surface.

What began as a cross-browser compatibility layer over inconsistent DOM APIs has, twenty years on, become a stable and still widely deployed foundation for legacy and server-rendered pages. The project maintains its own Rollup-based build pipeline (build/command.js) that lets consumers assemble custom builds by excluding modules like ajax, effects, or the full selector engine, producing UMD, ESM, and factory variants depending on target environment.

What You Get

  • A chainable $() API for selecting, traversing, and manipulating DOM elements as a collection
  • A cross-browser event system (.on()/.off()) with delegation, namespacing, and custom events
  • Built-in Ajax helpers ($.ajax, $.get, $.post) with a Deferred/Promise-based async model
  • An effects/animation module (.animate(), .fadeIn(), .slideUp(), etc.) with queueing
  • A modular build system to produce custom bundles (slim, full, ESM, factory) excluding unneeded modules
  • A self-contained CSS selector engine as a fallback for enhanced selector syntax beyond native querySelectorAll

Common Use Cases

  • Adding interactivity to server-rendered pages (PHP, Rails, WordPress, legacy CMS templates) without a build step
  • Manipulating and animating DOM elements in older codebases that predate modern frontend frameworks
  • Making Ajax requests and handling responses with a consistent cross-browser API
  • Maintaining and incrementally modernizing large legacy web applications that already depend on jQuery plugins
  • Building small interactive widgets or admin-panel scripts where a full SPA framework is unnecessary

Under The Hood

Architecture jQuery’s architecture centers on a single core abstraction defined in src/core.js: the jQuery.fn.init constructor produces an array-like collection of matched DOM nodes, and every other module — ajax, attributes, css, data, deferred, effects, event, manipulation, offset, queue, selector, serialize, traversing, wrap — extends jQuery.fn with methods that operate on this as that same collection, so the whole library depends on core.js and core/init.js never changing shape. The custom build tooling in build/ (Rollup-based, invoked via build/command.js) walks these module boundaries to produce include/exclude custom bundles, meaning the module structure doubles as the library’s packaging contract, not just an internal convenience. This is a mature, deliberately flat, prototype-based design rather than a class-hierarchy or plugin-registry architecture — solid for its scope, though it shows its age next to component-based frontend architectures.

Tech Stack The library itself is dependency-free vanilla JavaScript (ES2015+ source, transpiled/bundled to multiple targets), built with Rollup plus Babel (only for a legacy ES6-iterability test fixture), linted with ESLint using eslint-config-jquery and eslint-plugin-import, and packaged for npm as CommonJS/global (dist/jquery.js), ESM (dist-module/), AMD, and Node-factory builds. Its own selector engine (descended from Sizzle) lives under src/selector/ and is used both as jQuery’s default matching engine and, when excluded, replaced by a thin querySelectorAll wrapper (selector-native.js).

Code Quality Testing is extensive: test/unit/ holds one QUnit test file per module (ajax, animation, attributes, core, css, data, deferred, dimensions, effects, event, manipulation, offset, queue, selector, serialize, traversing, wrap, and more), run via the project’s own jquery-test-runner across real browsers in CI (browser-tests.yml, browserstack.yml), plus Node smoke tests and Promises/A+ compliance tests. CI also runs ESLint, JSON linting, and GitHub CodeQL security analysis. There is no static type system (plain JavaScript, no TypeScript or JSDoc type-checking), so correctness leans entirely on this test and lint surface rather than compile-time guarantees.

What Makes It Unique jQuery’s original innovation — a unified abstraction papering over inconsistent, pre-standardization browser DOM APIs — has been largely absorbed by the modern web platform itself (native querySelectorAll, fetch, CSS transitions), so today its distinguishing value is less technical novelty and more its long-lived, stable chainable API and its configurable module-exclusion build system, which lets consumers ship only the pieces (e.g. no ajax, no effects, no deprecated APIs) their page actually uses.

Used by 30 apps in this directory

Python
56%
Other

authentik

Authentication · Security

25,385

The self-hosted Identity Provider that replaces Okta, Auth0, and Entra ID with a unified SSO platform supporting SAML, OAuth2/OIDC, LDAP, RADIUS, and WebAuthn.

View details
92
Repo Health
81
Technical
66
Dependency
Built with
Python56%
TypeScript34%
Updated yesterday
C#
84%
Other

Bitwarden Server

Password Manager · Security

20,048

Self-hosted, open-source password management backend with zero-knowledge encryption and enterprise-grade identity services

View details
92
Repo Health
82
Technical
78
Dependency
Built with
C#84%
Updated 3 days ago
PHP
78%
Other

Craft CMS

CMS

3,605

A developer-first PHP CMS with clean-slate content modeling, auto-generated GraphQL API, and a four-tier edition system that scales from solo projects to enterprise deployments.

View details
96
Repo Health
83
Technical
62
Dependency
Built with
PHP78%
JavaScript14%
Updated yesterday
Java
78%
GPL 3.0

DataEase

Analytics · Data Engineering · AI Assistants

24,408

Open-source BI tool with drag-and-drop dashboards, 20+ data source connectors, and AI-powered natural language queries — a self-hosted alternative to Tableau.

View details
93
Repo Health
71
Technical
65
Dependency
Built with
Java78%
Vue22%
Updated 3 days ago
Ruby
60%
GPL 2.0

Discourse

Community

47,793

Open-source community platform with dynamic trust levels, real-time chat, and a powerful plugin architecture for self-hosted forums.

View details
89
Repo Health
89
Technical
67
Dependency
Built with
Ruby60%
JavaScript32%
Updated today
PHP
66%
AGPL 3.0

EspoCRM

Marketing · Ecommerce · CRM

3,326

Open-source CRM platform with metadata-driven customization, field-level permissions, and a full REST API — deploy on your own infrastructure.

View details
96
Repo Health
72
Technical
63
Dependency
Built with
PHP66%
JavaScript24%
Updated 3 days ago
Python
63%
BSD 3

Flagsmith

Developer Tools · Devops · Ab Testing Experimentation

6,539

Open-source feature flagging, remote config, and A/B/multivariate testing platform for web, mobile, and server-side apps — self-host or use the hosted SaaS.

View details
90
Repo Health
82
Technical
63
Dependency
Built with
Python63%
TypeScript31%
Updated 2 days ago
Go
83%
MIT

Gitea

Devops · Developer Tools · Project Management

57,850

Self-hosted DevOps in a single Go binary — Git hosting, GitHub Actions-compatible CI/CD, and 30+ package registries without any SaaS dependency.

View details
93
Repo Health
79
Technical
64
Dependency
Built with
Go83%
Updated today
Ruby
67%
Other

GitLab

Devops · Developer Tools

24,552

The complete DevOps platform that unifies Git hosting, CI/CD, issue tracking, and security scanning into a single self-hostable application.

View details
87
Repo Health
86
Technical
68
Dependency
Built with
Ruby67%
JavaScript20%
Updated today

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search