2.0.0 • Published 4 years ago
dtfe v2.0.0
dtfe
Does the file exist?
Install
$ npm install dtfe
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