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.
tiny library to help when importing CommonJS modules with paths relative to the root of the project 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
Easily require node modules within a project tree
Get the name of a project, from package.json, git config, or basename of the current working directory.
The root of the project.
Hijacks node's module resolution so that you can use a prefixed path to require modules from the project root.
Find a specific ancestor/root directory given a starting location and a search parameter
Easily switch between projects
A module that helps building paths from project's root folder
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.