dtfe
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i dtfe

    Weekly Downloads

    4

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.15 kB

    Total Files

    5

    Last publish

    Collaborators

    • abranhe