npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "subclass" 的结果(共 9 个)
nested-error-stacks

An Error subclass that will chain nested Errors and dump nested stacktraces

MIT
error-ex

Easy error subclassing and stack customization

MIT
standard-error

Tiny library that simplifies subclassing and inheriting from Error while keeping the correct name and stack. Also supports constructing from an object of properties. Saves you from boilerplate.

mixto

A mixin superclass. Its subclasses have `.extend` and `.includeInto` methods to mix behavior into other objects and classes.

socketerrors

Maps socket errors to SocketError objects subclassing httperrors.

BSD
socketerrors-papandreou

Maps socket errors to SocketError objects subclassing httperrors.

BSD
dnserrors

Maps dns errors to DnsError objects subclassing httperrors.

BSD-3-Clause
unherit

Create a subclass that can be modified without affecting the super class

MIT
many-keys-map

A `Map` subclass with support for multiple keys for one entry.

MIT