1.2.1 • Published 10 years ago
proot v1.2.1
proot
Resolve the root directory of the project.
Install
$ npm install proot --saveUsage
Resolve the project's root directory relative to __dirname.
var root = require('proot')(); Resolve the project's root directory relative to process.cwd() (intended for CLIs).
var root = require('proot')(true);