npm

29 packages found

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

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

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.2a year 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

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

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

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

Keywords

Publisher

published 3.1.09 months 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.12 years ago
M
Q
P

Description

Resolve paths to globally installed npm modules using glob patterns. Useful for getting paths to yeoman or Generate generators, etc.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

resolved and normalized path.

Keywords

Publisher

published 1.1.03 years ago
M
Q
P

Description

An asynchronous and configurable implementation of require.resolve(), like node-resolve or enhanced-resolve.

Keywords

Publisher

published 0.3.53 years ago
M
Q
P

Description

Attempt to resolve the absolute filepath to a file and verify that it exists.

Keywords

Publisher

published 0.3.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

Return an array of resolved filepaths for require-able local or named npm modules. Wildcard (glob) patterns may be used.

Keywords

Publisher

published 0.6.02 years ago
M
Q
P

Description

Calculate the relative path from a file's destination path to another directory or file.

Keywords

Publisher

published 0.1.04 years ago
M
Q
P

Description

Resolves local and global npm modules that match specified patterns, and returns a configuration object for each resolved module.

Keywords

Publisher

published 0.5.03 years ago
M
Q
P

Description

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

Keywords

Publisher

published 0.2.44 years ago