Search results

4019 packages found

Load plain JavaScript files that don't use module patterns directly in node.

published 1.0.4 a month ago
M
Q
P

Resolve the path of a package regardless of it having an entry point

published 2.0.0 5 years ago
M
Q
P

Easy dependency injection for node.js unit testing

published 7.0.0 9 months ago
M
Q
P
M
Q
P

walk the dependency graph to generate json output that can be fed into browser-pack

published 6.2.3 4 years ago
M
Q
P

Dynamic Module Loader

published 8.7.0 20 days ago
M
Q
P

check if an AST node is a call to require()

published 1.0.0 6 years ago
M
Q
P

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

published 4.0.0 3 years ago
M
Q
P

check if an AST node is a call to require()

published 1.0.0 6 years ago
M
Q
P

Require a file without adding it into the require cache

published 5.13.0 4 months ago
M
Q
P

Monkey-patches node's require algorithm to allow requiring of Sanity parts

published 2.36.2 9 months ago
M
Q
P

Provides a hooking mechanism for Node.js require() calls

published 3.0.1 7 years ago
M
Q
P

Simple, intuitive mocking of Node.js modules.

published 3.0.3 5 years ago
M
Q
P

Import a module like with `require()` but from the current working directory

published 3.0.0 5 years ago
M
Q
P

An ESLint plugin that enforces the use of import aliases. Also supports autofixing.

published 5.0.0 2 months ago
M
Q
P

require a whole directory of trees in bulk

published 1.0.1 7 years ago
M
Q
P

Use the node way to resolve required path to absolute path.

published 0.0.2 9 years ago
M
Q
P

ESLint rule to enforce sorting of variable declarations in a group of require() calls

published 2.1.0 7 years ago
M
Q
P

* Convert an absolute path to a tilde path: `/Users/YourUserName/dev` → `~/dev` * Inspired by [tilify](https://github.com/sindresorhus/tildify) by [Sindre Sorhus](https://github.com/sindresorhus) * Since tildify uses ES6 syntax, I created this package to

published 1.1.5 a day ago
M
Q
P

A plugin for vite that convert from require syntax to import that compat for es module.

published 1.0.21 9 months ago
M
Q
P