es2015-dirname (npm): A module for using the __dirname with the "module" type for node
Keywords: __dirname|dirname