xtend
extend like a boss
Last updated 10 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 (5 years ago)

17 Versions

  • 4.0.2                                ...           5 years ago
  • 4.0.1                                ...           9 years ago
  • 4.0.0                                ...           10 years ago
  • 3.0.0                                ...           11 years ago
  • 2.2.0                                ...           11 years ago
  • 2.1.2                                ...           11 years ago
  • 2.1.1                                ...           11 years ago
  • 2.0.6                                ...           12 years ago
  • 2.0.5                                ...           12 years ago
  • 2.0.4                                ...           12 years ago
  • 2.0.3                                ...           12 years ago
  • 2.0.2                                ...           12 years ago
  • 2.0.1                                ...           12 years ago
  • 1.0.3                                ...           13 years ago
  • 1.0.2                                ...           13 years ago
  • 1.0.1                                ...           13 years ago
  • 1.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 47
Today 0
This Week 0
This Month 16
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (148)

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