lib/cz-config.js
function get(path) {
    let czConfig;

    try {
        fs.accessSync(path, fs.R_OK);

        czConfig = require(path);
    } catch (err) {
        czConfig = {};
    }

    return czConfig;
}
function get(path) {
    let czConfig;

    try {
        fs.accessSync(path, fs.R_OK);

        czConfig = require(path);
    } catch (err) {
        czConfig = {};
    }

    return czConfig;
}
Reads and gets the cz-customizable config from a path.

@param {string} path The path to a cz-customizable config file.

@returns {Object} The cz-customizable config.