|
sfcode
An Online Competing and Development Environment
|
Find the root directory of a Node.js project or npm package
Returns a Promise for either the project root path or undefined if it couldn't be found.
Returns the project root path or undefined if it couldn't be found.
Type: string
Default: process.cwd()
Directory to start from.
MIT © Sindre Sorhus