Sha256: 1cbab72f53316e0997d014579384ad715731e1e701ab0f2b76667161a16f16ff

Contents?: true

Size: 429 Bytes

Versions: 111

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

111 entries across 104 versions & 12 rubygems

Version Path
immosquare-cleaner-0.1.63 node_modules/path-exists/index.d.ts
rapid_stack-0.2.0 templates/frontend/node_modules/path-exists/index.d.ts
rapid_stack-0.1.1 templates/FrontEnd/node_modules/path-exists/index.d.ts
rapid_stack-0.1.0 templates/FrontEnd/node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.62 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.61 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.60 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.59 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.58 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.57 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.56 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.55 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.54 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.53 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.52 node_modules/path-exists/index.d.ts
trusty-cms-6.3.1 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.51 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.50 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.49 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.48 node_modules/path-exists/index.d.ts