guess-root-path

1.0.0 • Public • Published

Guess Root Path

Guess the root path of a project.

Usage

const guessRootPath = require('guess-root-path');

const APP_PATH = guessRootPath(); 
// -> Something like /Users/testuser/Projects/cat-based-social-network
//     or null if it cannot be resolved 

Readme

Keywords

Package Sidebar

Install

npm i guess-root-path

Weekly Downloads

20

Version

1.0.0

License

ISC

Last publish

Collaborators

  • nathanhoad