29 packages found

    Description

    Detects if a file exists and returns the resolved filepath.

    Keywords

    Publisher

    published 1.0.04 years ago
    M
    Q
    P

    Description

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

    Keywords

    Publisher

    published 1.0.04 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.04 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.14 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.23 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.03 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.25 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.23 years 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.14 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.05 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.84 years ago
    M
    Q
    P

    Description

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

    Keywords

    Publisher

    published 0.2.46 years ago
    M
    Q
    P

    Description

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

    Keywords

    Publisher

    published 4.2.02 years ago
    M
    Q
    P

    Description

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

    Keywords

    Publisher

    published 0.0.36 years ago
    M
    Q
    P

    Description

    Hierarchical filepath resolver

    Keywords

    Publisher

    published 0.1.05 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.35 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.27 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.45 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.04 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.04 years ago
    M
    Q
    P