Software Alternatives & Reviews

Underscore.js Reviews

Underscore is a utility-belt library for JavaScript that provides a lot of the functional...

Social recommendations and mentions

We have tracked the following product recommendations or mentions on Reddit and HackerNews. They can help you see what people think about Underscore.js and what they use it for.
  • Discovered a 63kb tiddlywiki like self saving HTML+JS wiki and its looking cool
    I once made a very crude and simple TiddlyWiki work-alike I called "HulloWurld" It's 143 KB, but it includes copies of Knockout, Underscore, Zepto, and the "Marked" markdown parser... ¯\_(ツ)_/¯ ( Good stuff BTW: ) Probably the only interesting bit is the code to save the page:... - Source: Hacker News / 10 months ago
  • Underscore.js: create a map out of list of objects using a key found in the object
    I am using the excellent Underscore.js library. I have a specific task which I can do fine using JavaScript or jQuery but was wondering if there was some sort of abstraction avaialable in Underscore that I was missing out on. - Source: Reddit / 11 months ago
  • Asking Functional vs Class components again.
    There are many functional libraries for js like underscore, ramda, or even ts specific ones like fp-ts. - Source: Reddit / 11 months ago
  • How to detect scroll direction in vanilla JavaScript (to make a goofy logo animation)
    /* Source: 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,... - Source: / 12 months ago
  • Is it possible to get the index you're sorting over in Underscore.js?
    I'm using the JS library Underscore and in particular using the _.each and _.sortby library calls. I'm wondering if there's any possible way to get the index of the value within the iterator delegate. - Source: Reddit / 12 months ago
  • Lenses and Partial-application - Going functional one step at a time
    The code illustrated in this post is not recommended for use in production but the concepts most certainly are. Libraries like lodash and underscope provide many tried and tested, production-ready functions, some from the FP camp, that can simplify your code and make it easier to create reusable code. - Source: / about 1 year ago
  • Can someone tell me the use of Loadash in node js?
    Underscore might still be used some places, but it's been largely supplanted. - Source: Reddit / about 1 year ago
  • [AskJS] TIL StackOverflow monkeypatches the String prototype across its various sites.
    Underscore, then Lodash are examples for JavaScript of how useful features can be developed in a third party library that influence adoption in the language standard. As an example, Lodash would have been an inspiration / push for the ES2019 flatMap and ~flatten~ flat Array methods, without having modified the global prototypes. Lodash's lazy evaluation is listed as an inspiration in the current iterator helpers... - Source: Reddit / about 1 year ago
  • Mastering Docker Volumes
    Imagine we want to print the timestamp for current time. We can do this in a lot of ways, but as for now we're going to use the underscore library. - Source: / about 1 year ago
  • Open source maintainer pulls the plug on NPM packages colors and faker, now what
    It's both technical and cultural. Javascript is used on the front end. Front end devs obsess (or at least used to obsess) over download sized. So you'd have crazy stuff like custom builds of Underscore ( with just the functions you wanted. Think manual sandboxing, if that makes any sense. You could get a package of Underscore with just map, filter and reduceRight, if you wanted to. Now,... - Source: Hacker News / about 1 year ago
  • The Frontend Hitchhiker's Guide: 3rd Party Code
    These are libraries that are small and focused on making a specific problem easier for the developer. Moment.js can make displaying time based data and perform various operations with it. Underscore adds a collection of functional programming primitives to JavaScript if that's your cup of tea. Lodash is similar in providing functions to make working with arrays, numbers objects easier. - Source: / over 1 year ago
  • Lodash in 2021: Necessary or Obsolete?
    If you have a couple of years as a developer, you've probably used either Lodash or Underscore.js. These are two libraries that provide a bunch of utilities to manipulate data, particularly array and objects. - Source: / almost 2 years ago
  • How to inject Object.values() into an Array chain
    My first experience with the pattern was in JavaScript chaining jQuery calls. When Underscore came out I used its chain feature to write faster and cleaner code. Loved it! - Source: / almost 2 years ago
  • Firefox fixes 21 year old bug, will use native context menus on macOS
    DocumentCloud and Investigative Reporters & Editors They've given precisely as much attribution as is required. - Source: Hacker News / almost 2 years ago
  • Create an Odoo 14 Markdown Widget Field with TDD - Part 2
    Debouncing an input in JavaScript is a common technique to reduce the rate of execution of a function. If a user is typing inside an input and you execute a function on each change of that input (each letter typed) it can quickly lead to a lot of computation power being used on just that. The common technique is called debounced and it will delay the execution of the function listening to the input, only every X... - Source: / almost 2 years ago
  • Create a memoized function in JavaScript
    One of the first software development courses I ever took involved recreating the well known JavaScript library Underscore.js from scratch. Implementing more basic ones like each or map were manageable for me, but when we reached the more advanced ones, I was unable to keep up. One of the functions that really gave me a lot of trouble was memoize. I figuratively banged my head up against the wall with this... - Source: / almost 2 years ago
  • 5 Ways to Increase Your Efficiency as a Developer
    But don’t overdo it. You shouldn’t import underscore or lodash just to loop through an array. It only increases your package size and hurts the user experience. - Source: / almost 2 years ago
  • 21 Popular JavaScript Libraries Every Web Developer Should Know
    Underscore is a lower level JavaScript library. Lower level in that it’s very close to vanilla JavaScript. All it does is provide you with some helpers and tools to create web applications faster. - Source: / almost 2 years ago

Do you know an article comparing Underscore.js to other products?
Suggest a link to a post with product alternatives.