module.exports.packageNameToModuleName

Parsed documentation:
View on GitHub
/**
* Returns the module name from a .tgz package name (or the original name if it is not a valid pkg).
* @param {string} package_name The package name (e.g. "foo.tgz", "foo-1.0.0.tgz", "folder/foo.tgz")
* @return {string} the name
*/
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.