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