|  | hace 2 semanas | |
|---|---|---|
| .. | ||
| .jshintrc | hace 2 semanas | |
| .npmignore | hace 2 semanas | |
| LICENCE | hace 2 semanas | |
| Makefile | hace 2 semanas | |
| README.md | hace 2 semanas | |
| index.js | hace 2 semanas | |
| mutable.js | hace 2 semanas | |
| package.json | hace 2 semanas | |
| test.js | hace 2 semanas | |
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 presedence.
var extend = require("xtend")
// extend returns a new object. Does not mutate arguments
var combination = extend({
    a: "a"
}, {
    b: "b"
})
// { a: "a", b: "b" }