is-regular-file
Checks if a path is a regular file.
Installation
$ npm install is-regular-file
Usage
const isRegularFile = ; ;
or if you prefer sync:
const isRegularFileSync = sync; console;
Tests
$ npm test
$ npm test-cov
to get coverage report
License
Released under the MIT License.