npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "construct" 的结果(共 39 个)
clsx

A tiny (239B) utility for constructing className strings conditionally.

MIT
caw

Construct HTTP/HTTPS agents for tunneling proxies

MIT
path-proxy

A path proxy object constructor

assertion-error

Error constructor for test and validation frameworks that implements standardized AssertionError specification.

MIT
cls

Class factory featuring inheritance of static properties, static constructors, lazy population of prototypes, and this._super.

MIT
babel-plugin-transform-regexp-constructors

This changes RegExp constructors into literals if the RegExp arguments are strings.

MIT
babel-plugin-minify-type-constructors

**Note:** Not recommended if full support for IE8 and lower is required. [Details](https://github.com/babel/minify/pull/45#discussion_r70181249)

MIT
flush-write-stream

A write stream constructor that supports a flush function that is called before finish is emitted

MIT
nerr

Properly constructed base class for error objects

@babel/plugin-transform-sticky-regex

Compile ES2015 sticky regex to an ES5 RegExp constructor

MIT
class-transformer

Proper decorator-based transformation / serialization / deserialization of plain javascript objects to class constructors

MIT
esformatter-literal-notation

esformatter plugin that converts array and object constructors to literal notations

MIT
custom-event

Cross-browser `CustomEvent` constructor

MIT
escape-regex-string

Escapes a string literal for use as an argument in the standard RegExp constructor.

MIT
graphql-relay

A library to help construct a graphql-js server supporting react-relay.

MIT
html-element-map

Look up HTML tag names via HTML Element constructors, and vice versa.

MIT
type-of-is

Determine and test types using constructor or {}.toString

MIT
static-extend

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.

MIT
newify

Call function constructors with an array of arguments that spread

MIT
tea-error

Custom error constructor factory.

MIT
deepclone

Deep clone utility , together with circular reference detection and proper inheritance chain reconstruction

ISC
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.

deconstruct-merge

A simple library for merging complex options.

MIT
simple-errors

Errors constructor for simple error handling.

BSD
shift-ast

constructors for the Shift AST format

Apache-2.0
tea-inherits

Constructor inheritance.

generator-function

A function that returns the normally hidden `GeneratorFunction` constructor

MIT
babel-plugin-transform-class-constructor-call

This plugin allows Babel to transform class constructors (deprecated)

MIT
babel-plugin-transform-es2015-sticky-regex

Compile ES2015 sticky regex to an ES5 RegExp constructor

MIT