83 packages found

    Check if a path is the current working directory

    published 3.0.0 2 months ago
    M
    Q
    P

    Check if a path is in the current working directory

    published 4.0.0 6 months ago
    M
    Q
    P

    Resolve the path of a module like `require.resolve()` but from the current working directory

    published 3.0.0 2 years ago
    M
    Q
    P

    Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.

    published 2.0.2 5 years ago
    M
    Q
    P

    Return the current working directory.

    published 0.0.7 2 months ago
    M
    Q
    P

    Import a module like with `require()` but from the current working directory

    published 3.0.0 2 years ago
    M
    Q
    P

    This CLI tool allows to organize mocha tests in files and directories. It works by traversing the test directory recursively, creating describe blocks per directory and tests per *.test.js file.

    published 4.0.6 3 months ago
    M
    Q
    P

    Change the current working directory.

    published 0.0.6 2 months ago
    M
    Q
    P

    Perform tasks relative to your package.json, such as requiring

    published 2.0.1 5 years ago
    M
    Q
    P

    Resolve the path of a package regardless of it having an entry point

    published 2.0.0 3 years ago
    M
    Q
    P

    Cross platform pwd (pathname of the current working directory)

    published 1.0.4 a year ago
    M
    Q
    P

    Get the current package's binary path

    published 6.0.1 4 months ago
    M
    Q
    P

    <!-- TITLE/ --> # @dword-design/chdir <!-- /TITLE -->

    published 2.0.6 3 months ago
    M
    Q
    P

    Creates a temporary folder inside cwd, cds inside the folder, runs a function, and removes the folder. Especially useful for testing.

    published 4.0.9 2 months ago
    M
    Q
    P

    Provides a helper function to expand a path to a normalized absolute path. This function also expands dot, tilde, and tilde plus when used as the first path segment.

    published 2.0.0 3 months ago
    M
    Q
    P

    Open the GitHub page of the given or current directory repo

    published 4.0.0 9 days ago
    M
    Q
    P

    Get a path string relative to the current working directory.

    published 1.0.1 4 years ago
    M
    Q
    P

    Temporarily change directories to run a callback

    published 1.0.3 5 years ago
    M
    Q
    P

    A helper function to resolve a module name or path in relation to the specified context and require it.

    published 2.0.0 3 months ago
    M
    Q
    P

    Small cli util that redacts path refs from stdin

    published 1.0.0 6 months ago
    M
    Q
    P