get-cwd
This package will give you the path of Current Working Directory (CWD)
.
Usage:
const cwd = require('get-cwd');
console.log(cwd.get()); // C:\Users\Mayur\Documents\Project
This package is under process. If you have any suggestions/feedback please fork. Its highly appreciated.