It's simple module for get correct paths to launched script and few connected directories. Also it's wrapping all path module functions.
npm install pathinizer
const paths = require('pathinizer');
// paths to use
console.log('my application working directory', paths.directory);
console.log('my application temporary directory', paths.temp);
console.log('my application started script file', paths.script);
console.log('link to node is', paths.node);
// wrapped path functions
console.log('path to readme', paths.join(paths.directory, 'README.md'));
console.log('readme extension', paths.extname('README.md'));
// and etc