const fs = require('fs').promises;
class AsyncFs
{
static create = () => new this();
async exists(path)
try
await fs.access(path);
return true;
}
catch
return false;
module.exports = AsyncFs;