requires-port
Check if a protocol requires a certain port number to be added to an URL.
Found 34 results for requires
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.
Regular expression for matching javascript require statements.
A tiny (349B) utility to rewrite `import` statements as `require()`s; via RegExp
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.
The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script
The module has JS functions to check all imports or required modules and check if the file is a ES Module or a CJS/ JS Module or Script
test whether a require string is relative
list require and import paths from a JavaScript source
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'.
Code Contracts for TypeScript and ECMAScript classes
path.relative to be used in a require statement
ES6 classes, which offer the Design by Contract (DbC) approach, which is also known as the contract programming and other useful methods for the quick work.
Get list of all required modules for directory
Checks for the presence of URL protocol without a slashes (colon-slash-slash)
cli to rename file extensions and rewrite imports for commonjs (cjs) and esm after typescript build
snoops npm dependencies in a JavaScript bundle
Design by contract for JavaScript
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
CLI for adding a `utils.js` file with lazy-cached requires.
test whether a string is a public npm module
Match require statements in a glob of files. Returns an an object files, each with an array of objects describing each require statement found. Each require statement object has a line number, variable name, and module name. Statements in code comments ar
A preprocessor plugin for phiz to analyse requiers.
fis3 requires module
A module loader
Flattens relative require('./path/<module>') calls to require('./<module>')
filters a list of require paths to only public npm modules
Dependencies aware incremental building for gulp
Scans through source code for "@requires" statements and produces a combined file which satisfies the dependencies
Quickly find dependencies in a stylus string
Cache requires to be lazy-loaded when needed.
Parse a JSON file replacing all files included with their contents.