Hacker GitHub

← All repos

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

Mentions per year 30 mentions · busiest year 2021 (7)
20082026
  1. …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...
  2. …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…
  3. …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...
  4. ▲ 196
    Cash: A small jQuery alternative for modern browsers
    story by thunderbong · 2024-11-02 · 173 comments
  5. …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…
  6. …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.
  7. …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)
  8. …larger than Umbrella, but does more. It also supports partial builds to shrink it down further. https://github.com/fabiospampinato/cash
  9. …like UmbrellaJS[0] or Cash[0]): http://youmightnotneedjquery.com/ [0]: https://umbrellajs.com/ [1]: https://github.com/fabiospampinato/cash
  10. …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.
  11. …being partially compiled with individual modules turned off, but it requires manually listing them: https://github.com/fabiospampinato/cash
  12. …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
  13. …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/…
  14. Cash supports partial builds: https://github.com/fabiospampinato/cash/blob/master/docs/par...
    comment by brylie · 2021-03-02 · in jQuery 3.6.0
  15. …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)
  16. 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…
  17. And cash: https://github.com/fabiospampinato/cash
  18. …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
  19. …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
  20. …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:…
  21. 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
  22. …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
  23. ▲ 1
    Show HN: Cash - the last jQuery alternative, less than 5kb min. and gzipped
    story by fabiospampinato · 2018-07-10 · 1 comment
  24. ▲ 3
    Show HN: Cash v2: Aiming to be the last tiny jQuery alternative
    story by fabiospampinato · 2018-05-15 · 0 comments
  25. ▲ 8
    Show HN: Cash v2: An absurdly small jQuery alternative for modern browsers
    story by fabiospampinato · 2018-05-12 · 4 comments
  26. …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 #…
  27. ▲ 177
    Cash: An absurdly small jQuery alternative for modern browsers
    story by tambourine_man · 2016-04-01 · 90 comments
  28. 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
  29. …repo though, "Supermodel-weight jQuery replacement for modern browsers", I had to file an issue: https://github.com/kenwheeler/cash/issues/11
  30. ▲ 6
    Cash: An absurdly lightweight jQuery alternative
    story by vsidamon · 2014-09-24 · 3 comments