# fabiospampinato/cash

An absurdly small jQuery alternative for modern browsers.

Repository: https://github.com/fabiospampinato/cash
Canonical: https://ross.abutalabs.com/products/fabiospampinato-cash
Language: JavaScript
License: MIT
License Family: permissive
Topics: cash, selector, modern-browsers, javascript, dom, jquery-alternative, typescript, tiny, small, jquery
Last push: 2026-07-17T21:02:06+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 8, longevity 100
- inputs: {"age_days": 4366, "days_push": 47, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7034, forks 268 (observed 2026-08-28T04:09:55.178198+00:00)

## What it is
Cash is an absurdly small (~6 KB gzipped) jQuery alternative for modern browsers that provides jQuery-style chainable syntax for DOM manipulation. It is written in TypeScript, supports partial builds, and covers most day-to-day jQuery use cases without aiming for 100% feature parity.

## Use cases
- replace jQuery with a much smaller library
- manipulate the DOM with jQuery-like syntax
- reduce bundle size on a legacy jQuery codebase
- query and traverse DOM elements with a familiar $ API
- add and remove classes and handle events with minimal code
- migrate an existing jQuery project to a modern lightweight alternative

## When to choose
- you want jQuery ergonomics with a tiny footprint in modern browsers
- you need TypeScript types and an actively maintained codebase
- you want to trim a bundle by excluding methods via partial builds
- you're migrating from jQuery and want a near drop-in replacement

## When to avoid
- you need full jQuery feature parity or legacy browser support like IE10 and below
- you're building a modern SPA where a reactive framework is a better fit
- you rely on jQuery plugins that depend on full jQuery internals

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: jquery-alternative, dom-manipulation, tiny, typescript, selector-engine, chainable-api, web-server

## Member repositories
- fabiospampinato/cash (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:55.178198+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:34.453778+00:00, confidence not recorded.
  - readme: https://github.com/fabiospampinato/cash (fetched 2026-08-28T04:09:55.178198+00:00, sha fd4fe967c558)
- Data as of 2026-08-30T08:39:29.467469+00:00.
