Search results

4 packages found

Regular expression for matching javascript require/import statements.

published 0.2.0 3 years ago
M
Q
P

Regular expression for matching javascript require statements.

published 1.0.4 6 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

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

published 0.1.0 10 years ago
M
Q
P