Search results

34 packages found

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

published 1.0.0 8 years ago
M
Q
P
M
Q
P

Cache requires to be lazy-loaded when needed.

published 2.0.2 7 years ago
M
Q
P

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

published 0.0.7 a year ago
M
Q
P

Parse a JSON file replacing all files included with their contents.

published 1.1.0 5 years ago
M
Q
P

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

published 0.0.7 a year ago
M
Q
P

gets the package name for a require statement

published 2.0.1 9 years ago
M
Q
P

A module loader

published 1.1.0 6 years ago
M
Q
P

cli to rename file extensions and rewrite imports for commonjs (cjs) and esm after typescript build

published 1.0.3 a month ago
M
Q
P

Scans through source code for "@requires" statements and produces a combined file which satisfies the dependencies

published 0.1.0 11 years ago
M
Q
P

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'.

published 0.0.8 6 years ago
M
Q
P

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.

published 0.16.0 6 years ago
M
Q
P

Regular expression for matching javascript require/import statements.

published 0.2.0 3 years ago
M
Q
P

Quickly find dependencies in a stylus string

published 0.1.0 10 years ago
M
Q
P

Regular expression for matching javascript require statements.

published 1.0.4 6 years ago
M
Q
P

A tiny (349B) utility to rewrite `import` statements as `require()`s; via RegExp

published 3.0.0 3 years ago
M
Q
P

Cache requires to be lazy-loaded when needed.

published 2.0.5 a year ago
M
Q
P

test whether a require string is relative

published 1.0.1 9 years ago
M
Q
P

path.relative to be used in a require statement

published 1.0.1 9 years ago
M
Q
P

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.

published 2.0.1 6 years ago
M
Q
P