dtfe

Does the file/folder exist? 🤔

Usage no npm install needed!

<script type="module">
  import dtfe from 'https://cdn.skypack.dev/dtfe';
</script>

README

dtfe Github Travis License npm

Does the file exist?

Install

$ npm install dtfe
Other options?
npm
$ npm install dtfe
yarn
$ yarn add dtfe
Github Registry
$ npm install abranhe@dtfe

Usage

import check from 'dtfe';

console.log(check('package.json'));
//=> true

API

check(file)

Return a function with a boolean value checking whether a file/directory exist

License

MIT © Carlos Abraham