licenses.dev

static-extend v0.1.2

Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors.

Published on

Licenses

Learn more about license information.

Package Licenses

MIT

Dependency Licenses

MIT10
PackageRelationDependenciesPublished
copy-descriptor • 0.1.1Copy a descriptor from object A to object BINDIRECT0
define-property • 0.2.5Define a non-enumerable property on an object.DIRECT5
function-bind • 1.1.2Implementation of Function.prototype.bindINDIRECT0
hasown • 2.0.2A robust, ES3 compatible, "has own property" predicate.INDIRECT1
is-accessor-descriptor • 1.0.1Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.INDIRECT2
is-buffer • 1.1.6Determine if an object is a BufferINDIRECT0
is-data-descriptor • 1.0.1Returns true if a value has the characteristics of a valid JavaScript data descriptor.INDIRECT2
is-descriptor • 0.1.7Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.INDIRECT4
kind-of • 3.2.2Get the native type of a value.INDIRECT1
object-copy • 0.1.0Copy static properties, prototype properties, and descriptors from one object to another.DIRECT9
Last updated on

Copy the licenses badge code for the latest version:

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

Or the licenses badge code for the 0.1.2 version:

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