npm

29 packages found

M
Q
P

Description

Resolve a directory that is either local, global or in the user's home directory.

Keywords

Publisher

published 1.0.12 years ago
M
Q
P

Description

Detects if a file exists and returns the resolved filepath.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Returns `true` if the path appears to be relative.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

Keywords

Publisher

published 2.0.22 years ago
M
Q
P

Description

Get installation path where the given package is installed. Works for globally and locally installed packages

Keywords

Publisher

published 4.0.82 years ago
M
Q
P

Description

Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.

Keywords

Publisher

published 2.0.0a year ago
M
Q
P

Description

Resolve the path of a module from the directory where npm is installed

Keywords

Publisher

published 4.2.03 months ago
M
Q
P

Description

Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.

Keywords

Publisher

published 3.0.24 years ago
M
Q
P

Description

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

Keywords

Publisher

published 2.0.22 years ago
M
Q
P

Description

Used to import js files using grammar: '<link rel = "import" href = "filepath">'. It supports mult-level imports and automatically adjust the resource reference path to be relative to the containing html file. The '<img>', '<audio>', '<video>', '<script>'

Keywords

Publisher

published 1.0.17a month ago
M
Q
P

Description

Resolves a given package if it is installed locally, then tries to resolve it from global registry, using battle-tested [global-modules][] package. Better approach than internal `require.resolve`, so you can trust. You just get absolute filepath to some p

Keywords

Publisher

published 1.0.13 years ago
M
Q
P

Description

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

Keywords

Publisher

published 0.10.03 years ago
M
Q
P

Description

Localized and configureable async and sync `requre.resolve()` implementation.

Keywords

Publisher

published 0.2.45 years ago
M
Q
P

Description

resolve/normalize a filepath using the cwd as the basepath if relative

Keywords

Publisher

published 0.0.35 years ago
M
Q
P

Description

Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Utility for returning a list of arrays that contain matching keywords. Useful for filtering package.json files.

Keywords

Publisher

published 0.2.25 years ago
M
Q
P

Description

given a filepath return a unique id with serialised info from any package.json file is discovered on the path

Keywords

Publisher

published 0.0.34 years ago
M
Q
P

Description

Hierarchical filepath resolver

Keywords

Publisher

published 0.1.03 years ago
M
Q
P

Description

resolve one filepath (or id) relative to another via the rules of CommonJS/node's module.require

Keywords

Publisher

published 0.0.44 years ago