Search results

68 packages found

Get the absolute path to the global yarn config directory.

published 1.0.2 6 years ago
M
Q
P

Finds the longest common parent directory path in an array of file path strings or custom objects. Also returns sub and base parts for each path.

published 1.0.1 5 years ago
M
Q
P

Find the root directory of a Node.js project from a given path

published 2.0.0 5 years ago
M
Q
P

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

published 1.2.5 4 years ago
M
Q
P

Find the root directory of a monorepo using Yarn workspaces, Bolt, Lerna or pnpm

published 1.0.3 2 years ago
M
Q
P

Get the absolute path to the yarn global modules directory (globally installed modules).

published 1.0.1 7 years ago
M
Q
P

Get the closest parent folder containing a package.json file

published 2.0.2 8 years ago
M
Q
P

Find the closest `.git` directory

published 1.0.0 7 years ago
M
Q
P

Easily find the relative path to the root directory in your Metalsmith templates

published 1.0.4 8 years ago
M
Q
P

Get the node modules directory, a.k.a. npm root. Global or local.

published 1.1.0 9 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

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

published 2.0.1 9 years ago
M
Q
P

Get the absolute path to the yarn global links directory (globally symlinked modules).

published 1.0.1 7 years ago
M
Q
P

NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.

published 1.0.5 4 years ago
M
Q
P

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

published 1.0.0 a year ago
M
Q
P

find the project root

published 1.0.3 4 years ago
M
Q
P

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

published 1.0.2 a year 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

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 7 years ago
M
Q
P

🔼 Provides a way to check if the given path is the root drive/directory. ⛔

published 2.1.3 2 years ago
M
Q
P