Search results

32 packages found

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

published 1.0.0 7 years ago
M
Q
P

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

published 1.0.0 7 years ago
M
Q
P

Detects if a file exists and returns the resolved filepath.

published 1.0.0 7 years ago
M
Q
P

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.

published 2.0.0 6 years ago
M
Q
P

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

published 1.0.1 7 years ago
M
Q
P

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

published 4.0.0 2 years ago
M
Q
P

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

published 3.0.0 2 years ago
M
Q
P

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

published 4.0.8 7 years ago
M
Q
P

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.

published 3.0.2 9 years ago
M
Q
P

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

published 0.10.0 8 years ago
M
Q
P

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

published 1.0.1 8 years ago
M
Q
P

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

published 2.0.2 7 years ago
M
Q
P

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

published 1.0.0 7 years ago
M
Q
P

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

published 4.2.0 5 years ago
M
Q
P

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

published 1.0.0 7 years ago
M
Q
P

resolved and normalized path.

published 1.1.0 9 years ago
M
Q
P

<div id="top"></div> <p align="center"> <a href="" rel="noopener"> <img width=50% src="./media/logo.png" alt="Project logo"></a> </p>

published 1.5.0 2 years ago
M
Q
P

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

published 0.3.1 9 years ago
M
Q
P

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

published 0.6.0 8 years ago
M
Q
P

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

published 0.3.5 9 years ago
M
Q
P