Search results
67 packages found
Get the absolute path to the yarn global links directory (globally symlinked modules).
- bin
- binaries
- binary
- conf
- config
- directories
- directory
- dirname
- global
- installed
- links
- module
- modules
- node
- View more
🔼 Provides a way to check if the given path is the root drive/directory. ⛔
NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.
find the project root
npm install --save rootrequire # then `var root = require('rootrequire'), myLib = require(root + 'path/to/lib.js');`
Locates the 'root directory' of the current project
Find the closest `.git` directory
Get the node modules directory, a.k.a. npm root. Global or local.
Get to the base directory of a project for importing files
Easy, lightweight determiner of the project root to be dropped into any node module.
Find the root directory of a monorepo using Yarn workspaces, Bolt, Lerna or pnpm
- monorepo
- monorepo-root
- root
- workspaces
- yarn-monorepo
- yarn-workspaces
- yarn
- lerna-monorepo
- lerna-workspaces
- lerna
- pnpm-workspaces
- pnpm-monorepo
- pnpm
- Bolt
Serve directory listings with luvit.io and Utopia
This plugin can get the root directory of the project directly
Get the closest parent folder containing a package.json file
- path
- root
- root-path
- boilerplate
- config
- setup
- directory-structure
- file
- directory
- load
- import
- require
- convenience
- low-level
For use in tests only! require() using a relative path from the root directory of the present module
Common utility commands for Git repositories.
- extra
- git
- add-submodule
- amend-push-submodules
- amend-push
- apush-submodules
- apush
- basename
- clone-init-submodules
- commit-push-submodules
- commit-push
- cpush-submodules
- cpush
- default-branch
- View more
Common utility commands for Git repositories.
- extra
- git
- add-submodule
- amend-push-submodules
- amend-push
- apush-submodules
- apush
- basename
- clone-init-submodules
- commit-push-submodules
- commit-push
- cpush-submodules
- cpush
- default-branch
- View more
Find top most root directory of a Node.js project or npm package.
accessing root directory in require & import calls using ~
Get the resolved path the root (directory) of a package installed in node_modules.