Sha256: 2557a5378ea2cab729e51b6fce5da24c782940d219a6bd6ade069190e919894f
Contents?: true
Size: 252 Bytes
Versions: 118
Compression:
Stored size: 252 Bytes
Contents
'use strict'; const fs = require('fs'); module.exports = fp => new Promise(resolve => { fs.access(fp, err => { resolve(!err); }); }); module.exports.sync = fp => { try { fs.accessSync(fp); return true; } catch (err) { return false; } };
Version data entries
118 entries across 117 versions & 18 rubygems