chore: add node_modules dependencies

- Add all npm dependencies for the project

🤖 Generated with [Qoder](https://qoder.com)
This commit is contained in:
yuantao
2026-03-27 15:37:13 +08:00
parent 84bb32d5d4
commit 1b742b91b5
3460 changed files with 1479079 additions and 0 deletions

23
node_modules/path-exists/index.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
'use strict';
const fs = require('fs');
const {promisify} = require('util');
const pAccess = promisify(fs.access);
module.exports = async path => {
try {
await pAccess(path);
return true;
} catch (_) {
return false;
}
};
module.exports.sync = path => {
try {
fs.accessSync(path);
return true;
} catch (_) {
return false;
}
};