module.exports.isConfigFile

Parsed documentation:
View on GitHub
/**
* Check if filename is a configuration file
* @param {string} filename
* @return {mixed} null if not conf file, json or yaml if conf
*/
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.