A tiny jQuery alternative for modern browsers with familiar chainable DOM manipulation methods.
Cash is a lightweight JavaScript library that provides jQuery-style DOM manipulation methods for modern browsers. It solves the problem of jQuery's large file size by offering a minimal alternative with familiar syntax, covering most day-to-day use cases while being significantly smaller.
Frontend developers who need jQuery-like functionality but want to reduce bundle size, especially those targeting modern browsers (IE11+).
Developers choose Cash because it offers the familiar jQuery API they already know while being up to 76.6% smaller than jQuery Slim, with TypeScript support and the ability to create partial builds for even smaller bundles.
An absurdly small jQuery alternative for modern browsers.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
At only 6KB minified and gzipped, Cash is 76.6% smaller than jQuery Slim, as shown in the comparison table, making it ideal for performance-focused web apps.
Cash provides familiar chainable methods and syntax, which the README states allows for easy migration from jQuery while covering most day-to-day DOM manipulation use cases.
Written in TypeScript with generated type definitions, Cash ensures better type safety and developer experience in modern codebases, unlike jQuery which relies on external DefinitelyTyped packages.
Developers can exclude individual methods to further reduce bundle size, offering fine-grained control over the library's footprint, as mentioned in the features and documentation.
Cash explicitly does not aim for 100% jQuery parity, missing key features like AJAX methods, advanced animations, and some utility functions that might be essential for complex projects.
Only targets modern browsers from IE11 onward, so it's unsuitable for applications that must support older browsers like IE9 or IE10, as highlighted in the comparison table.
Since Cash isn't a drop-in jQuery replacement, existing jQuery plugins may not work, forcing teams to rewrite or find alternatives, which can increase development time and complexity.
cash is an open-source alternative to the following products: