UNPKG

316 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var fs = require("fs");
4function fileExists(filePath) {
5 try {
6 return fs.statSync(filePath).isFile();
7 }
8 catch (err) {
9 return false;
10 }
11}
12exports.fileExists = fileExists;
13//# sourceMappingURL=file-exists.js.map
\No newline at end of file