node-locate-path

Get the first path that exists on disk of multiple paths

Description

Node.js module to get the first path that exists on disk, from an array of multiple possible paths.

Provides a synchronous version and an asynchronous version (that returns a promise).

Node.js is an event-based server-side JavaScript engine.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/sindresorhus/locate-path#readme


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-locate-path