licenses.dev

shallow-clone v1.0.0

Make a shallow clone of an object, array or primitive.

Published on

Licenses

Learn more about license information.

Package Licenses

MIT

Dependency Licenses

MIT4
PackageRelationDependenciesPublished
for-in • 0.1.8Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.jsINDIRECT0
is-extendable • 0.1.1Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. "can the value have keys?"DIRECT0
kind-of • 5.1.0Get the native type of a value.DIRECT0
mixin-object • 2.0.1Mixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone.DIRECT2
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/npm/shallow-clone)](https://licenses.dev/npm/shallow-clone)
<a href="https://licenses.dev/npm/shallow-clone">
  <img src="https://licenses.dev/b/npm/shallow-clone" alt="licenses" />
</a>

Or the licenses badge code for the 1.0.0 version:

[![licenses](https://licenses.dev/b/npm/shallow-clone/1.0.0)](https://licenses.dev/npm/shallow-clone/1.0.0)
<a href="https://licenses.dev/npm/shallow-clone/1.0.0">
  <img src="https://licenses.dev/b/npm/shallow-clone/1.0.0" alt="licenses" />
</a>
GitHub