ez-indexation / app / node_modules / xtend /
@kieffer kieffer authored on 7 Mar 2017
..
.jshintrc v0.0.0 7 years ago
.npmignore v0.0.0 7 years ago
LICENCE v0.0.0 7 years ago
Makefile v0.0.0 7 years ago
README.md v0.0.0 7 years ago
immutable.js v0.0.0 7 years ago
mutable.js v0.0.0 7 years ago
package.json v0.0.0 7 years ago
test.js v0.0.0 7 years ago
README.md

xtend

browser support

locked

Extend like a boss

xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence.

Examples

var extend = require("xtend")

// extend returns a new object. Does not mutate arguments
var combination = extend({
    a: "a",
    b: 'c'
}, {
    b: "b"
})
// { a: "a", b: "b" }

Stability status: Locked

MIT Licenced