module-details-from-path

Extract the Node.js module details like name and base path given an abosulte path to a file inside the module

config-root

Get the users config directory, cross-platform