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

Copyright 2013 - present © cnpmjs.org | Home |