immutad●t-lodash
immutadot-lodash is an extension to immutad●t, adding functions based on lodash.
More information on immutad●t is available on the repository's main page.
Installation
immutad●t-lodash is available on npm repository.
using yarn:
$ yarn add immutadot lodash immutadot-lodash
using npm:
$ npm install immutadot lodash immutadot-lodash
Usage
ES modules:
CommonJS:
const mapValues =
Example
Use lodash's mapValues
on a nested object:
const obj = nested: object: a: 1 b: 2 c: 3 const newObj = // =>// {// nested: {// object: {// a: 1,// b: 4,// c: 9,// },// },// }
Documentation
Latest API documentation is available here.
License
immutad●t-lodash is MIT licensed.