Buckets:
3.85 GB
70,867 files
Updated 17 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| .jshintrc | 545 Bytes xet | d6e1405b | |
| LICENSE | 1.08 kB xet | f92a0664 | |
| README.md | 726 Bytes xet | 408a89c0 | |
| immutable.js | 384 Bytes xet | fa796a35 | |
| mutable.js | 369 Bytes xet | 62e9f1d6 | |
| package.json | 1.06 kB xet | 275f0b0a | |
| test.js | 2.31 kB xet | 24dc3351 |
xtend
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
- Total size
- 3.85 GB
- Files
- 70,867
- Last updated
- Nov 3
- Pre-warmed CDN
- US EU US EU
