{"repo":"fabiospampinato/cash","free":true,"listed":false,"github":"https://github.com/fabiospampinato/cash","clone":"git clone https://github.com/fabiospampinato/cash.git","description":"An absurdly small jQuery alternative for modern browsers.","language":"JavaScript","stars":7032,"topics":["cash","selector","modern-browsers","javascript","dom","jquery-alternative","typescript","tiny","small","jquery"],"license":"MIT","category":"dev-tools","readme_excerpt":"Cash Cash is an absurdly small jQuery alternative for modern browsers (IE11+) that provides jQuery-style syntax for manipulating the DOM. Utilizing modern browser features to minimize the codebase, developers can use the familiar chainable methods at a fraction of the file size. 100% feature parity with jQuery isn't a goal, but Cash comes helpfully close, covering most day to day use cases. Comparison Size Cash Zepto 1.2.0 jQuery Slim 3.4.1 ------------------ ----------- ----------- ----------------- Unminified 36.5 KB 58.7 KB 227 KB Minified 16 KB 26 KB 71 KB Minified & Gzipped 6 KB 9.8 KB 24.4 KB A 76.6% gain in size reduction compared to jQuery Slim. If you need a smaller bundle, we support partial builds too. Features Cash Zepto 1.2.0 jQuery Slim 3.4.1 ------------------------ ---------------------------------- ------------------------------ ------------------------------ Supports Older Browsers ❌ ️❌ ✔ Supports Modern Browsers ✔ ️✔ ✔ Actively Maintained ✔ ❌ ✔ Namespaced Events ✔ ️❌ ✔ Typed Codebase ✔ (TypeScript) ️❌ ❌ TypeScript Types ✔ (generated from code) ⚠️ (via DefinitelyTyped) ⚠️ (via DefinitelyTyped) Partial Builds ✔ (can exclude individual methods) ⚠️ (can exclude whole modules) ⚠️ (can exclude whole modules) If you're migrating from jQuery be sure to read our migration guide. Usage You can get Cash from jsDelivr and use it like this: Cash is also available through npm as the cash-dom package: That you can then use like this: Documentation Cash gives you a query s","default_branch":null,"files":null,"tree":[],"storefront":"/r/fabiospampinato","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fabiospampinato/cash/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}