| 40 | } |
| 41 | /** @param {string} file */ |
| 42 | const checkFileExists = file => |
| 43 | fs.promises |
| 44 | .access(file, fs.constants.F_OK) |
| 45 | .then(() => true) |
| 46 | .catch(() => false) |
| 47 | |
| 48 | /** @type {(name: string, path: string, query: { [Key: string]: any }, apikeyqueryname: string) => string} */ |
| 49 | const API = (name, path = '/', query = {}, apikeyqueryname) => |
nothing calls this directly
no outgoing calls
no test coverage detected