Sha256: 4c41efa5eda535e00b6b68446fe808445abb0165499a14a60608bc719fc600b3
Contents?: true
Size: 377 Bytes
Versions: 59
Compression:
Stored size: 377 Bytes
Contents
import { readFileSync, statSync, writeFile } from 'fs'; import { format } from 'util'; import { resolve } from 'path'; export default { fs: { readFileSync, writeFile }, format, resolve, exists: (file) => { try { return statSync(file).isFile(); } catch (err) { return false; } } };
Version data entries
59 entries across 59 versions & 6 rubygems