Package Exports
- project-root-directory
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (project-root-directory) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
project-root-directory
find the project root
Getting Started
Install the package by running:
<npm | yarn | pnpm> install project-root-directoryThen use it:
const projectRootDirectory = require('project-root-directory')
// path of the project root directory