requires-port
Check if a protocol requires a certain port number to be added to an URL.
Check if a protocol requires a certain port number to be added to an URL.
Cache requires to be lazy-loaded when needed.
gets the package name for a require statement
Regular expression for matching javascript require/import statements.
A tiny (349B) utility to rewrite `import` statements as `require()`s; via RegExp
Regular expression for matching javascript require statements.
Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.
test whether a require string is relative
list require and import paths from a JavaScript source
Flattens relative require('./path/<module>') calls to require('./<module>')
Pass in the string representation of a file to get the file's module pattern. `moduletype` returns the module pattern type used by a script, for example 'cjs' or 'esm'.
path.relative to be used in a require statement
CLI tool that tells you when dependencies are missing from package.json and offers you a choice to install them. Also tells you when dependencies are listed in package.json but are not being used anywhere in your project. Node.js command line tool and API
Checks for the presence of URL protocol without a slashes (colon-slash-slash)
Get list of all required modules for directory
snoops npm dependencies in a JavaScript bundle
A module loader
filters a list of require paths to only public npm modules
fis3 requires module
test whether a string is a public npm module