Search results

1000+ packages found

resolve like require.resolve() on behalf of files asynchronously and synchronously

published version 1.22.10, 4 months ago10031 dependents licensed under $MIT
415,799,869

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

published version 5.0.0, 6 years ago3145 dependents licensed under $MIT
438,741,111

Import a module while bypassing the cache

published version 3.3.1, 3 months ago2002 dependents licensed under $MIT
251,700,137

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

published version 2.1.1, 10 years ago2315 dependents licensed under $MIT
225,565,903

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

published version 1.0.0, 9 years ago674 dependents licensed under $MIT
129,965,913

Let a globally installed package use a locally installed version of itself if available

published version 3.2.0, 9 months ago2582 dependents licensed under $MIT
136,149,027

Resolve the path of a module like `require.resolve()` but from the current working directory

published version 3.0.0, 6 years ago1668 dependents licensed under $MIT
132,625,430

shim for require.main.filename() that works in as many environments as possible

published version 2.0.0, 6 years ago1011 dependents licensed under $ISC
97,210,478

Find the module object for something that was require()d

published version 2.0.1, 2 years ago967 dependents licensed under $ISC
94,042,784

Prepare a node environment to require files with different extensions.

published version 0.8.0, 4 years ago894 dependents licensed under $MIT
85,958,240

Import a module lazily

published version 4.0.0, 6 years ago573 dependents licensed under $MIT
50,712,855

Module to hook into the Node.js require function

published version 7.5.2, 2 months ago137 dependents licensed under $MIT
44,909,813

Enforces module path case sensitivity in Webpack

published version 2.4.0, 4 years ago6062 dependents licensed under $MIT
35,424,568

Import a module like with `require()` but from a given path

published version 4.0.0, 4 years ago399 dependents licensed under $MIT
34,890,292

Write minimal node index.js files that require and export siblings by file basename

published version 1.2.0, 7 years ago2995 dependents licensed under $MIT
23,952,604

Node's default require extensions as a separate module

published version 3.0.1, 3 years ago59 dependents licensed under $MIT
23,441,607

Cache requires to be lazy-loaded when needed.

published version 2.0.2, 8 years ago385 dependents licensed under $MIT
23,040,338

Install a transform to `require.extensions` that always runs last, even if additional extensions are added later.

published version 2.0.0, 6 years ago58 dependents licensed under $MIT
22,415,608

Convert CommonJS modules to ES2015

published version 28.0.3, a month ago3685 dependents licensed under $MIT
23,519,436

The closest you can get to require something with bypassing the require cache

published version 1.1.1, 8 years ago277 dependents licensed under $ISC
19,626,106