31 packages found
Functions for transforming import/require paths that have a prefix referring to the project root.
Transforms require module paths that have a prefix referring to the project root. Also works on `require.resolve`.
Get the path to a Yarn or NPM based project root directory.
Easily reference & require files from the calling module's root project directory
Get the name of a project, from package.json, git config, or basename of the current working directory.
Easily require node modules within a project tree
Hijacks node's module resolution so that you can use a prefixed path to require modules from the project root.
Babel plugin to transform project relative import paths to file relative import paths.
npm install --save rootrequire # then `var root = require('rootrequire'), myLib = require(root + 'path/to/lib.js');`
Find a specific ancestor/root directory given a starting location and a search parameter
A module that helps building paths from project's root folder
Allows you to require stuff from your project root
tiny library to help when importing CommonJS modules with paths relative to the root of the project directory
Cleans up the mess in your GitHub project root by allowing to move config files into package.json.
Get to npm project root folder via a symlink created on install.
find the project root