Skip to content

Utility function to check if a file exists and return a Promise

License

Notifications You must be signed in to change notification settings

appgeist/file-exists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@appgeist/file-exists

NPM version License

Utility function to check if a file exists and return a Promise.

Usage

const fileExists = require("@appgeist/file-exists");

const found = await fileExists("catz-picture.jpg");

License

The ISC License.