Search results
34 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
Provides a way to parse Tiled project files (.tiled-project) and maps into typescript usable format,. Additionally, it also flattens the properties of nested Tiled classes into the root Tiled class's/object's/layer's own properties, as if it had inherited
tiny library to help when importing CommonJS modules with paths relative to the root of the project directory
Easily require node modules within a project tree
The root of the project.
Get the name of a project, from package.json, git config, or basename of the current working directory.
Easily switch between projects
Hijacks node's module resolution so that you can use a prefixed path to require modules from the project root.
A module that helps building paths from project's root folder
Find a specific ancestor/root directory given a starting location and a search parameter
Babel plugin to transform project relative import paths to file relative import paths.
Allows you to require stuff from your project root
npm install --save rootrequire # then `var root = require('rootrequire'), myLib = require(root + 'path/to/lib.js');`
find the project root
Cleans up the mess in your GitHub project root by allowing to move config files into package.json.