Displaying 1 to 15 from 15 results

js-traverse - Traverse and transform objects by visiting every node on a recursive walk.

  •    Javascript

Traverse and transform objects by visiting every node on a recursive walk.Each method that takes an fn uses the context documented below in the context section.

deep-freeze - recursively Object.freeze() on objects and functions

  •    Javascript

Call Object.freeze(obj) recursively on all unfrozen properties of obj that are functions or objects.Based in part on the code snippet from the MDN wiki page on Object.freeze(), which is released to the public domain.

deepmerge - A library for deep (recursive) merging of Javascript objects

  •    Javascript

Merge the enumerable attributes of two objects deeply. For the old array element-merging algorithm, see the arrayMerge option below.

sort-keys - Sort the keys of an object

  •    Javascript

Useful to get a deterministically ordered object, as the order of keys can vary between engines.Returns a new object with sorted keys.




merge-defaults - A recursive version of `_.defaults`.

  •    Javascript

Implements a deep version of _.defaults.This module DOES NOT merge arrays or dates.

deep - node.js utilities for manipulating deeply-nested data structures

  •    CoffeeScript

This library contains utilities for manipulating deeply-nested data structures. These functions only perform recursive traversal of arrays and "plain" objects, that is, those objects that were created using object literals ({}) or new Object. This function works by checking to see if the argument's constructor's name is Object.


cloner - Cloning ES5+ objects in a shallow or deep way

  •    Javascript

An ES5+ compatible utility to deep or shallow copy and merge objects. The module has two sub modules: shallow and deep. Both of them will have two methods: copy and merge.

mux - Creates a promise that waits for the promises in nested data structures and resolves to data structures of the same form

  •    Javascript

Creates a promise that waits for the promises in nested data structures and resolves to data structures of the same form. It recursively traverses the input data structure and multiplexes its promises.

mixin-deep - Deeply mix the properties of objects into the first object, while also mixing-in child objects

  •    Javascript

Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

rfdc - Really Fast Deep Clone

  •    Javascript

It's faster to allow enumerable properties on the prototype to be copied into the cloned object (not onto it's prototype, directly onto the object). If this behavior is acceptable, set proto to true for an additional 2% performance boost.

promiseproxy - Promisify callback-style APIs with ES2015 Proxy :whale:

  •    Javascript

A yet another library for promisifying callback-style APIs, but this time implemented using the ES2015 Proxy object. It works by intercepting method calls to the API and returning a promise if a callback parameter was expected. The benefit of using proxies is that the API is extended without the need to duplicate or mutate the original API implementation. The main functionality of the proxies is implemented in less than 20 lines, making this approach lightweight and easily auditable.