@appgeist/file-exists

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

Usage no npm install needed!

<script type="module">
  import appgeistFileExists from 'https://cdn.skypack.dev/@appgeist/file-exists';
</script>

README

@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.