Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
index.js16 linesDownload Raw Back to esm
1import * as posix from './posix.js';
2import * as win32 from './win32.js';
3export * from './options.js';
4export { win32, posix };
5const platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;
6const impl = platform === 'win32' ? win32 : posix;
7/**
8 * Determine whether a path is executable on the current platform.
9 */
10export const isexe = impl.isexe;
11/**
12 * Synchronously determine whether a path is executable on the
13 * current platform.
14 */
15export const sync = impl.sync;
16//# sourceMappingURL=index.js.map
codekingpro/portable-devtools · Team Ai