Top "Lodash" questions

A modern JavaScript utility library delivering modularity, performance, and extras.

How to do a deep comparison between 2 objects with lodash?

I have 2 nested objects which are different and I need to know if they have difference in one of their …

javascript lodash
How to use lodash to find and return an object from Array?

My objects: [ { description: 'object1', id: 1 }, { description: 'object2', id: 2 } { description: 'object3', id: 3 } { description: 'object4', id: 4 } ] In my …

javascript arrays lodash
Differences between Lodash and Underscore.js

Why would someone prefer either the Lodash or Underscore.js utility library over the other? Lodash seems to be a …

underscore.js javascript lodash
Lodash - difference between .extend() / .assign() and .merge()

In the Lodash library, can someone provide a better explanation of merge and extend / assign. Its a simple question but …

javascript lodash
Lodash remove duplicates from array

This is my data: [ { url: 'www.example.com/hello', id: "22" }, { url: 'www.example.com/hello', id: "22" }, { url: 'www.example.com/…

javascript lodash
How can I remove an element from a list, with lodash?

I have an object that looks like this: var obj = { "objectiveDetailId": 285, "objectiveId": 29, "number": 1, "text": "x", "subTopics": [{ "subTopicId": 1, "number": 1 }, { "subTopicId": 2, "number": 32 }, { "…

javascript arrays object lodash
How to group an array of objects by key

Does anyone know of a (lodash if possible too) way to group an array of objects by an object key …

javascript arrays object grouping lodash
How do I use the includes method in lodash to check if an object is in the collection?

lodash lets me check for membership of basic data types with includes: _.includes([1, 2, 3], 2) > true But the following doesn't work: _.…

javascript functional-programming lodash
Error: EACCES: permission denied

I run npm install lodash but it throws Error: EACCES: permission denied error. I know it is permission issue but …

node.js lodash
Angular 4 HttpClient Query Parameters

I have been looking for a way to pass query parameters into an API call with the new HttpClientModule's HttpClient …

angular typescript http lodash angular-httpclient