fabiospampinato/cash
View on GitHub ↗ ★ 7,030 JavaScript
An absurdly small jQuery alternative for modern browsers.
30 mentions on Hacker News by 20 people: 6 stories, 24 comments · first 2014-09-24 · latest 2024-11-15
20082026
-
…or $.fn.on() with multiple events is easier to write with jQuery/Cash. Have a look under the hood: https://github.com/fabiospampinato/cash/blob/master/src/even...
comment by niutech · 2024-11-15 · in Cash: A small jQuery alternative for modern browsers -
…you really need. It looks like cash has that as well, just bit more hidden in the documentation https://github.com/fabiospampinato/cash/blob/master/docs/par... If I'd use it I'd give that a try. Somehow I still think going with what the…
comment by nedt · 2024-11-03 · in Cash: A small jQuery alternative for modern browsers -
…few things that jQuery can do (and Cash can't) that I didn't know and I'll probably use some time: https://github.com/fabiospampinato/cash/blob/master/docs/mig...
comment by aargh_aargh · 2024-11-02 · in Cash: A small jQuery alternative for modern browsers -
…browsers³ then there are much smaller libraries that do that job which may be worth looking into. https://github.com/fabiospampinato/cash or https://github.com/franciscop/umbrella to give a couple of examples. Some explicitly support IE11…
comment by dspillett · 2022-08-16 · in The impact of removing jQuery on our web performance -
…tried to drop jQuery, but truthfully, its syntax is just much easier to use. Nowadays, I use Cash https://github.com/fabiospampinato/cash to give me the nice syntax without the bloat. It strikes the perfect balance for me.
comment by cmer · 2022-05-19 · in Gov.uk drops jQuery from their front end -
…obsolete methods IMO, but I guess it depends on your use case for a library like this. [0]: https://github.com/fabiospampinato/cash/blob/272132a6dc1d885...
comment by fabiospampinato · 2022-01-18 · in Replacing jQuery (110kb) With UmbrellaJS (8kb) -
…larger than Umbrella, but does more. It also supports partial builds to shrink it down further. https://github.com/fabiospampinato/cash
comment by cmer · 2022-01-17 · in Replacing jQuery (110kb) With UmbrellaJS (8kb) -
…like UmbrellaJS[0] or Cash[0]): http://youmightnotneedjquery.com/ [0]: https://umbrellajs.com/ [1]: https://github.com/fabiospampinato/cash
comment by hardwaresofton · 2021-09-06 · in Show HN: Auto-generate vanilla JavaScript alternatives for jQuery methods -
…Maybe it is, probably not. For some context I maintain a ~6kb rewrite of a subset of jQuery ( https://github.com/fabiospampinato/cash ), which IMO is much better value proposition for many use cases.
comment by fabiospampinato · 2021-09-06 · in Show HN: Auto-generate vanilla JavaScript alternatives for jQuery methods -
…being partially compiled with individual modules turned off, but it requires manually listing them: https://github.com/fabiospampinato/cash
comment by fabiospampinato · 2021-09-06 · in Show HN: Auto-generate vanilla JavaScript alternatives for jQuery methods -
…but there are already minimal and modern alternatives with the jQuery API like zepto and cash. 1) https://github.com/fabiospampinato/cash 2) https://github.com/madrobby/zepto
comment by manigandham · 2021-09-06 · in Show HN: Auto-generate vanilla JavaScript alternatives for jQuery methods -
…suite with Cash to spot issues. Feel free to ping me if you are interested in joining forces. [0]: https://github.com/fabiospampinato/cash [1]: https://github.com/sachinchoolur/replace-jquery#on [2]: https://github.com/fabiospampinato/cash/…
comment by fabiospampinato · 2021-09-06 · in Show HN: Auto-generate vanilla JavaScript alternatives for jQuery methods -
Cash supports partial builds: https://github.com/fabiospampinato/cash/blob/master/docs/par...
comment by brylie · 2021-03-02 · in jQuery 3.6.0 -
…method from jQuery it would probably be a better idea to simply copy/paste it from Cash. [1]: https://github.com/fabiospampinato/cash
comment by fabiospampinato · 2021-01-14 · in You might not need jQuery (2014) -
https://github.com/fabiospampinato/cash of you want to build website, vue.js if you want to build an app. In app world, vue.js (options api specifically, which is easier to understand for newcomers) can get up and running faster than…
comment by toinbis · 2020-12-23 · in Show HN: Django and React SaaS boilerplate tutorial -
And cash: https://github.com/fabiospampinato/cash
comment by manigandham · 2020-05-14 · in Next.js 9.4 – Fast Refresh, Incremental Static Regeneration -
…of Cash[0], a lightweight jQuery alternative for working with the DOM in a more accessible way [0] https://github.com/kenwheeler/cash
comment by diablo1 · 2020-04-04 · in Show HN: 33 line React -
…minified and gzipped, and can be even partially compiled to remove the stuff you don't need. [0] https://github.com/kenwheeler/cash
comment by fabiospampinato · 2019-03-31 · in Native Javascript alternatives to jQuery methods -
…clone events and values (if any) from the DOM. More functions accepted as arguments. [1] Cash docs: https://github.com/kenwheeler/cash#fnaddclass- [2] Umbrella docs: https://umbrellajs.com/documentation#addclass [3] Cash tests:…
comment by franciscop · 2018-08-19 · in Show HN: Umbrella JS, a 2.5kb jQuery alternative -
There are established tiny jQuery alternatives: Zepto: https://github.com/madrobby/zepto Cash: https://github.com/kenwheeler/cash How is yours better?
comment by bufferoverflow · 2018-08-19 · in Show HN: Umbrella JS, a 2.5kb jQuery alternative -
…although it doesn't mirror all of jQuery's methods (like .fadeIn() .fadeOut() for example) [0] https://github.com/kenwheeler/cash/
comment by topoftheforts · 2018-07-25 · in Removing jQuery from GitHub.com frontend -
…In their latest commit the minified content in their dist is 9.3kb as is and 3.2kb after gzip https://github.com/kenwheeler/cash/blob/3cb498ca7c5776b8cadc... curl https://rawgit.com/kenwheeler/cash/3cb498ca7c5776b8cadcce588... | wc -c #…
comment by twolfson · 2016-04-01 · in Cash: An absurdly small jQuery alternative for modern browsers -
for those interested in a lighter jquery, most features and same api there are these alternatives: https://github.com/kenwheeler/cash https://github.com/finom/balalaika
comment by leeoniya · 2014-12-16 · in You Don't Need JQuery -
…repo though, "Supermodel-weight jQuery replacement for modern browsers", I had to file an issue: https://github.com/kenwheeler/cash/issues/11
comment by webmaven · 2014-09-26 · in Show HN: Cash – An absurdly small jQuery alternative for modern browsers