PHP 8.2.30
Preview: index.d.ts Size: 429 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/path-exists/index.d.ts

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;

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
429 B lrw-r--r-- 2026-02-21 00:53:18
Edit Download
347 B lrw-r--r-- 2026-02-21 00:53:18
Edit Download
1.08 KB lrw-r--r-- 2026-02-21 00:53:20
Edit Download
607 B lrw-r--r-- 2026-02-21 00:53:16
Edit Download
1.39 KB lrw-r--r-- 2026-02-21 00:53:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).