JSPM

project-root-directory

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 357
  • Score
    100M100P100Q98360F
  • License ISC

find the project root

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-directory

Then use it:

const projectRootDirectory = require('project-root-directory')
// path of the project root directory