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