const { findUp, findUpSync, findUpMultiple, findUpMultipleSync, findUpStop, pathExists, pathExistsSync } = require("./locatePath.cjs");

const res = (...args) => {
    return findUp(...args);
}
res.sync = findUpSync;
res.findUpSync = findUpSync;
res.findUpMultiple = findUpMultiple;
res.findUpMultipleSync = findUpMultipleSync;
res.exists = pathExists;
res.sync = {
    exists: pathExistsSync,
};
res.pathExists = pathExists;
res.stop = findUpStop;
res.findUpStop = findUpStop;

module.exports = res;
