Search results

67 packages found

compute the closest common parent for file paths

published 1.0.1 9 years ago
M
Q
P

Find the root directory of a Node.js project or npm package

published 8.0.0 7 months ago
M
Q
P

Get the directory of globally installed packages and binaries

published 4.0.1 7 months ago
M
Q
P

Computes the longest prefix string that is common to each path, excluding the base component

published 3.0.0 5 years ago
M
Q
P

Finds the first parent directory that contains a given file or directory.

published 0.3.1 3 years ago
M
Q
P

Simple module to infer the root directory of the currently running node application

published 1.0.2 9 years ago
M
Q
P

A small collection of sync & async filesystem functions in Node.js.

published 1.2.5 3 years ago
M
Q
P

One Package to rule them all, finds your root-dir, monorepo, package manager or tsconfig.json

published 1.8.2 2 days ago
M
Q
P

Requiring or import modules/folders/files based on your root directory

published 2.0.1 9 years ago
M
Q
P

return the closest parent or current directory that contains a package.json

published 1.0.1 6 years ago
M
Q
P

tiny library to help when importing CommonJS modules with paths relative to the root of the project directory

published 1.0.6 6 years ago
M
Q
P

Traverses up the directory tree and returns the first module found

published 1.1.0 5 years ago
M
Q
P

Find the highest directory with a package.json, starting from from the current working directory.

published 1.0.0 10 months ago
M
Q
P

Allows the user to locate the root directory, of a Node application set up using npm, from a specified directory by traversing upwards until the root is located.

published 1.0.3 6 years ago
M
Q
P

Find the highest package.json, starting from from the current working directory.

published 1.0.2 10 months ago
M
Q
P

Finds the first parent directory that contains a given file or directory.

published 0.3.0 8 years ago
M
Q
P

index.js made DRYer. Exports all the modules in a directory in just one sentence

published 0.1.1 9 years ago
M
Q
P

Get root folders of git, svn, mercurial, nodejs node_modules / package.json / package-lock.json, and nodejs .jscache folder

published 0.0.3 a year ago
M
Q
P

Get the name of a project, from package.json, git config, or basename of the current working directory.

published 1.0.0 5 years ago
M
Q
P

Easily reference & require files from the calling module's root project directory

published 1.0.0 8 years ago
M
Q
P