Displaying 1 to 16 from 16 results

shallow-equals - Determine if an array or object is equivalent with another, *not* recursively

  •    Javascript

Determine if an array or object is equivalent with another, not recursively.Check if a and b are pretty much the same thing. Note this won't be the case if a and b are different types (e.g. Array vs. Object, String vs. Function).

shallow-copy - make shallow copies of objects and arrays

  •    Javascript

Return a copy of the enumerable properties of the object obj without making copies of nested objects inside of obj.If obj is an array, the result will be an array. If obj is an object, the result will be an object. If obj is not an object, its value is returned.

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.




chai-shallow-deep-equal - Shallow deep equal for chai

  •    Javascript

Will shallowly perform a deep equal assertion. In other terms is consist of checking that an object, or objects graph, is contained within another one (see examples bellow).

shallow-settings - Shallow inheritance-based settings for your application

  •    Javascript

This was based off of mgutz/node-settings but implements a shallow clone over a deep clone to make output more predictable. Additionally, it features lazy loading for instantiaion inside of your configuration itself. shallow-settings defines Settings as its module.exports.

expect-react-shallow - JSX assertions with Chai-like API (based on unexpected-react-shallow)

  •    Javascript

A Chai’s expect like API wrapper for unexpected-react. It also accepts JSX instead of ShallowRenderer instance. See details in unexpected-react docs.

is-equal-shallow - Does a shallow comparison of two objects, returning false if the keys or values differ

  •    Javascript

Does a shallow comparison of two objects, returning false if the keys or values differ. The purpose of this lib is to do the fastest comparison possible of two objects when the values will predictably be primitives.


mixin-object - Extend the properties from any number of objects onto the first object

  •    Javascript

Mixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone. Follow this project's author, Jon Schlinkert, for updates on this project and others.

shallow-clone - Make a shallow clone of an object, array or primitive.

  •    Javascript

Creates a shallow clone of any JavaScript value. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

extend-shallow - Extend object A with the properties of object B. node.js/javascript util.

  •    Javascript

Extend an object with the properties of additional objects. node.js/javascript util. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

shallowequal - Like lodash v3.x isEqualWith but for shallow equal.

  •    Javascript

shallowequal is like lodash's isEqualWith but for shallow (strict) equal. Performs a shallow equality comparison between two values (i.e. value and other) to determine if they are equivalent.

proxyequal - There is a bit more smart way to compare things, than a shallow equal.

  •    Javascript

Proxy equal - "MobX"-like solution, which will "magically" compare only used keys. Just 150 lines long. 100% test coverage.