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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    2
  • 1.0.1
    1
  • 1.0.0
    1

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