xtend
extend like a boss
Last updated 7 years ago by raynos .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm 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 (7 years ago)

17 Versions

  • 4.0.2                                ...           7 years ago
  • 4.0.1                                ...           11 years ago
  • 4.0.0                                ...           12 years ago
  • 3.0.0                                ...           13 years ago
  • 2.2.0                                ...           13 years ago
  • 2.1.2                                ...           13 years ago
  • 2.1.1                                ...           13 years ago
  • 2.0.6                                ...           13 years ago
  • 2.0.5                                ...           13 years ago
  • 2.0.4                                ...           14 years ago
  • 2.0.3                                ...           14 years ago
  • 2.0.2                                ...           14 years ago
  • 2.0.1                                ...           14 years ago
  • 1.0.3                                ...           14 years ago
  • 1.0.2                                ...           15 years ago
  • 1.0.1                                ...           15 years ago
  • 1.0.0                                ...           15 years ago
Maintainers (1)
Downloads
Total 98
Today 4
This Week 4
This Month 25
Last Day 0
Last Week 0
Last Month 2
Dependencies (0)
None
Dev Dependencies (1)
Dependents (160)

© 2010 - cnpmjs.org x YWFE | Home | YWFE