npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "const" 的结果(共 28 个)
babel-plugin-react-constant-elements

Treat React JSX elements as value types and hoist them to the highest scope

MIT
babel-plugin-constant-folding

Compile static constants (ie. code that we can statically determine to be constant at runtime)

MIT
babel-plugin-transform-react-constant-elements

Treat React JSX elements as value types and hoist them to the highest scope

MIT
constants-browserify

node's constants module for the browser

MIT
clsx

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

MIT
fs-constants

Require constants across node and the browser

MIT
defs

Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.

MIT
caw

Construct HTTP/HTTPS agents for tunneling proxies

MIT
node-object-hash

Node.js object hash library with properties/arrays sorting to provide constant hashes

MIT
charcodes

Char codes constants

MIT
path-proxy

A path proxy object constructor

assertion-error

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

MIT
@babel/plugin-transform-block-scoping

Compile ES2015 block scoping (const and let) to ES5

MIT
cls

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

MIT
constantinople

Determine whether a JavaScript expression evaluates to a constant

MIT
eslint-visitor-keys

Constants and utilities about visitor keys to traverse AST.

Apache-2.0
babel-plugin-minify-constant-folding

Tries to evaluate expressions and inline the result.

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
babel-plugin-transform-es2015-block-scoping

Compile ES2015 block scoping (const and let) to ES5

MIT
flush-write-stream

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

MIT
triple-beam

Definitions of levels for logging purposes & shareable Symbol constants.

MIT
@webassemblyjs/helper-wasm-bytecode

WASM's Bytecode constants

MIT
constant-case

Transform into upper case string with an underscore between words

MIT
mathjs

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

Apache-2.0
nerr

Properly constructed base class for error objects

buffer-equal-constant-time

Constant-time comparison of Buffers

BSD-3-Clause