npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "require" 的结果(共 50 个)
webpack-core

The core of webpack and enhanced-require.

enhanced-require

Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.

babel-register

babel require hook

MIT
require-all

An easy way to require all files within a directory.

MIT
babel-plugin-dynamic-import-node

Babel plugin to transpile import() to a deferred require(), for node

MIT
babel-plugin-react-require

Babel plugin that adds React import declaration if file contains JSX tags.

MIT
fs-constants

Require constants across node and the browser

MIT
mysql

A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.

MIT
es-object-atoms

ES Object-related atoms: Object, ToObject, RequireObjectCoercible

MIT
require-directory

Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.

MIT
roadrunner

Cache require resolutions to heavily improve startup speed on subsequent loads

babel-plugin-transform-inline-imports-commonjs

A Babel transform that turns imports into lazily loaded commonjs requires

MIT
v8-compile-cache-lib

Require hook for automatic V8 compile cache persistence

MIT
real-require

Keep require and import consistent after bundling or transpiling

MIT
proxyquire

Proxies nodejs require in order to allow overriding dependencies during testing.

MIT
require-from-string

Require module from string

MIT
browserify

browser-side require() the node way

MIT
rechoir

Prepare a node environment to require files with different extensions.

MIT
optional-require

NodeJS Require that let you handle module not found error without try/catch

Apache-2.0
require-relative

require and resolve modules relative to a path of your choice

resolve-from

Resolve the path of a module like `require.resolve()` but from a given path

MIT
parent-require

Require modules from parent modules.

requires-port

Check if a protocol requires a certain port number to be added to an URL.

MIT
babel-plugin-module-alias

Babel plugin to rewrite the path in require() and ES6 import

MIT
webpack-require-weak

Require a webpack resolveWeak id

MIT
enhanced-resolve

Offers a async require.resolve function. It's highly configurable.

MIT
blueimp-tmpl

1KB lightweight, fast & powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like Node.js, module loaders like RequireJS, Browserify or webpack and all web browsers.

MIT
require-dir

Helper to require() directories.

MIT
fix-esm

Fixes ERR_REQUIRE_ESM errors so that you can require ESM modules from CommonJS

WTFPL OR CC0-1.0