1.0.0 • Published 7 years ago
file-check v1.0.0
File check
Check if a path is a file
Installation
npm install --save file-check
Usage
const check = require('file-check');
if (check('my-file')) {
console.log('is a file');
}
Working example in test.js
License
MIT
1.0.0
7 years ago