xtend
extend like a boss
Last updated 11 years ago by raynos .
MIT · Repository · Bugs · Original npm
$ cnpm install xtend 
SYNC missed versions from official npm registry.

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 Licensed

Current Tags

  • 4.0.2                                ...           latest (6 years ago)

5 Versions

  • 3.0.0                                ...           11 years ago
  • 4.0.1                                ...           10 years ago
  • 2.1.2                                ...           12 years ago
  • 2.2.0                                ...           11 years ago
  • 4.0.2                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org