Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including immutadot-lodash with all npm packages installed. Try it out:

require('immutadot') require('lodash') const { mapValues } = require('immutadot-lodash') mapValues({ nested: { map: { a: 1, b: 2, c: 3 } } }, 'nested.map', v => v * v) // => { nested: { map: { a: 1, b: 4, c: 9 } } } orderBy({ nested: { people: [{ name: 'Nico', age: 30 }, { name: 'Yvo', age: 2 }, { name: 'Nico', age: 666 }] } }, 'nested.prop', ['name', 'age'], ['desc', 'desc']) // => { nested: { people: [{ name: 'Yvo', age: 2 }, { name: 'Nico', age: 666 }, { name: 'Nico', age: 30 }] } }

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

immutadot-lodash v1.0.0

immutadot-lodash is an extension to immutadot, adding functions based on lodash.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free