How to Import a Single Lodash Function?
You can install lodash.isequal as a single module without installing the whole lodash package like so: npm install –save lodash.isequal When using ECMAScript 5 and CommonJS modules, you then import it like this: var isEqual = require(‘lodash.isequal’); Using ES6 modules, this would be: import isEqual from ‘lodash.isequal’; And you can use it in your code: … Read more