Sha256: 1cbab72f53316e0997d014579384ad715731e1e701ab0f2b76667161a16f16ff
Contents?: true
Size: 429 Bytes
Versions: 96
Compression:
Stored size: 429 Bytes
Contents
declare const pathExists: { /** Check if a path exists. @returns Whether the path exists. @example ``` // foo.ts import pathExists = require('path-exists'); (async () => { console.log(await pathExists('foo.ts')); //=> true })(); ``` */ (path: string): Promise<boolean>; /** Synchronously check if a path exists. @returns Whether the path exists. */ sync(path: string): boolean; }; export = pathExists;
Version data entries
96 entries across 89 versions & 11 rubygems