0.1.0 • Published 8 years ago

check-file-exists v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

check-file-exists

  • Checks if file exists.
  • Returns true or false
  • Is not depreciated

Install

npm install check-file-exists --save

Usage

var checkFileExists = require('check-file-exists');

var fileName = 'myFile.js';

checkFileExists(fileName, function(err, isFile) {

  console.log(isFile); // true or false

});
0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago