xtend

WebJar for xtend

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

xtend
Last Version

Last Version

4.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

xtend
WebJar for xtend
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/Raynos/xtend

Download xtend

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/xtend/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>xtend</artifactId>
    <version>4.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/xtend/
implementation 'org.webjars.npm:xtend:4.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/xtend/
implementation ("org.webjars.npm:xtend:4.0.2")
'org.webjars.npm:xtend:jar:4.0.2'
<dependency org="org.webjars.npm" name="xtend" rev="4.0.2">
  <artifact name="xtend" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='xtend', version='4.0.2')
)
libraryDependencies += "org.webjars.npm" % "xtend" % "4.0.2"
[org.webjars.npm/xtend "4.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

DEPRECATED: xtend

locked

This function is too small, just copy & paste it.

Also Object.assign(a, b) or { ...a } for shallow extension / copies.

Description

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

Versions

Version
4.0.2
4.0.1
4.0.0
3.0.0
2.2.0
2.1.2
2.0.6