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

Version Path
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
immosquare-cleaner-0.1.47 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.46 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.45 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.44 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.43 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.42 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.41 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.40 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.39 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.38 node_modules/path-exists/index.d.ts
optimacms-0.1.61 spec/dummy/node_modules/compression-webpack-plugin/node_modules/path-exists/index.d.ts
optimacms-0.1.61 spec/dummy/node_modules/@rails/webpacker/node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.32 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.31 node_modules/path-exists/index.d.ts
immosquare-cleaner-0.1.30 node_modules/path-exists/index.d.ts