Top "Lodash" questions

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

How to use lodash-es in typescript correctly?

I need to use lodash-es in my typescript project, but I can't configure it correctly, it always reports errors like …

typescript ts-node lodash
Import from node_modules not recognized in es6 modules in browser

I'm trying to use lodash in my web application. I have installed lodash using npm in my local project. I …

javascript lodash es6-modules
Lodash debounce async/await

I'm trying to add debounce to my application before I do an api call. However when I introduce debouce, it …

javascript reactjs lodash debounce
Why webpack doesn't tree-shake the lodash when using "import * as _"?

I am learning about tree-shaking with a webpack 4/React application that uses Lodash. At first, my Lodash usage looked like …

javascript webpack lodash tree-shaking es6-modules
Sum all data in array of objects into new array of objects

I have an array of objects that looks like this: var data = [{costOfAirtickets: 2500, costOfHotel: 1200},{costOfAirtickets: 1500, costOfHotel: 1000}] and I want to …

javascript arrays lodash
Map and filter an object using Ramda

I'm learning Ramda and I'm a little confused how to build this lodash chain below using Ramda. Ramda returns functions …

javascript dictionary functional-programming lodash ramda.js
How do we include only required modules from lodash in a Nuxt?Vuejs Project?

We have built a Nuxt/VueJS project. Nuxt has its own config file called nuxt.config.js within which we …

javascript webpack vue.js lodash nuxt.js
Rxjs `distinctUntilChanged()` appears to not be working

In an rxjs stream, I'm using distinctUntilChanged with lodash's isEqual to filter out duplicate values. However it appears to not …

rxjs lodash rxjs-pipeable-operators