path/to/whatever/file/inside/cordova/project.jsvar cordovaRoot = require('cordova-root'); console.log(cordovaRoot); // -> /home/your_name/path/to/your/project3 keywords1 dependency2 dependents1 versioncordovarootpathcordova-lib@infinitebrahmanuniverse/nolb-cordova-r@everything-registry/sub-chunk-13870.0.19 years ago