underscore
JavaScript's utility _ belt (by jashkenas)
rubico
[a]synchronous functional programming (by a-synchronous)
Our great sponsors
underscore | rubico | |
---|---|---|
31 | 1 | |
27,233 | 266 | |
- | 1.5% | |
4.3 | 8.5 | |
24 days ago | 17 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
underscore
Posts with mentions or reviews of underscore.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-07.
-
No Lodash
Interesting! Looks like this jgonggrijp user has been keeping things moving for the last couple years: https://github.com/jashkenas/underscore/graphs/contributors
What's more surprising is that Underscore.js[1] has seen more activity recently than Lodash (which was touted as Underscore's successor for years).
- Not Your Grandfather’s Perl
-
Yoda Conditions (From the office)
Underscore
-
Top 7 template engines for Node JS 2022
Its GitHub repository is https://github.com/jashkenas/underscore. Companies are used by large companies like Pinterest, Tesla Motors, Figma, Coursera, PostMan, Reddit, LinkedIn, Tumblr, Alibaba, Hulu, and more.
- Unde as putea gasi exercitii de sortare a listelor in javascript pentru interviu de frontend?
- Discovered a 63kb tiddlywiki like self saving HTML+JS wiki and its looking cool
-
What does it mean this function removeItem = (item) => { _.remove(this.items, item); };inside this class? And anyone knows why there is an underscore before the method?
That’s a function from the underscore library which can be found here: https://www.npmjs.com/package/underscore
-
Asking Functional vs Class components again.
There are many functional libraries for js like underscore, ramda, or even ts specific ones like fp-ts.
-
How to detect scroll direction in vanilla JavaScript (to make a goofy logo animation)
/* Source: https://underscorejs.org/underscore-esm.js During a given window of time. Normally, the throttled function will run as much as it can, without ever going more than once per `wait` duration; but if you'd like to disable the execution on the leading edge, pass `{leading: false}`. To disable execution on the trailing edge, ditto. */ function throttle(func, wait, options) { var timeout, context, args, result; var previous = 0; if (!options) options = {}; var later = function () { previous = options.leading === false ? 0 : Date.now(); timeout = null; result = func.apply(context, args); if (!timeout) context = args = null; }; var throttled = function () { var _now = Date.now(); if (!previous && options.leading === false) previous = _now; var remaining = wait - (_now - previous); context = this; args = arguments; if (remaining <= 0 || remaining > wait) { if (timeout) { clearTimeout(timeout); timeout = null; } previous = _now; result = func.apply(context, args); if (!timeout) context = args = null; } else if (!timeout && options.trailing !== false) { timeout = setTimeout(later, remaining); } return result; }; throttled.cancel = function () { clearTimeout(timeout); previous = 0; timeout = context = args = null; }; return throttled; }
rubico
Posts with mentions or reviews of rubico.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-02.
-
Automate your website deployments on AWS S3 with GruCloud: Episode 2
you will find in dumpster.js the function getFiles that will retrieve all the file names in the given directory. It uses the asynchronous functional library rubico. This function is imported inside iac.js and used to create multiple S3Objects.
What are some alternatives?
When comparing underscore and rubico you can also consider the following projects:
lodash - A modern JavaScript utility library delivering modularity, performance, & extras.
ramda - :ram: Practical functional Javascript
Sugar - A Javascript library for working with native objects.
lazy.js - Like Underscore, but lazier
Rambda - Faster and smaller alternative to Ramda
Mout - Modular JavaScript Utilities
scramjet - Public tracker for Scramjet Cloud Platform, a platform that bring data from many environments together.
mimic-fn - Make a function mimic another one
preludejs - functional/point-free utils for JavaScript