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. …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…
  5. …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.
  6. …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)
  7. …larger than Umbrella, but does more. It also supports partial builds to shrink it down further. https://github.com/fabiospampinato/cash
  8. …like UmbrellaJS[0] or Cash[0]): http://youmightnotneedjquery.com/ [0]: https://umbrellajs.com/ [1]: https://github.com/fabiospampinato/cash
  9. …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.
  10. …being partially compiled with individual modules turned off, but it requires manually listing them: https://github.com/fabiospampinato/cash
  11. …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
  12. …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/…
  13. Cash supports partial builds: https://github.com/fabiospampinato/cash/blob/master/docs/par...
    comment by brylie · 2021-03-02 · in jQuery 3.6.0
  14. …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)
  15. 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…
  16. And cash: https://github.com/fabiospampinato/cash
  17. …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
  18. …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
  19. …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:…
  20. 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
  21. …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
  22. …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 #…
  23. 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
  24. …repo though, "Supermodel-weight jQuery replacement for modern browsers", I had to file an issue: https://github.com/kenwheeler/cash/issues/11