bare-fs
Native file system for Javascript.
npm i bare-fs
Usage
const fs = require('bare-fs')
fs.open
fs.close
fs.unlink
fs.read
fs.readv
fs.write
fs.writev
fs.ftruncate
fs.stat
fs.fstat
fs.lstat
fs.mkdir
fs.rmdir
fs.rename
fs.readlink
fs.readFile
fs.writeFile
fs.promises.readFile
fs.promises.writeFile
fs.promises.mkdir
fs.promises.rmdir
fs.promises.stat
fs.promises.unlink
fs.promises.readlink
fs.createReadStream
fs.createWriteStream
fs.writeFileSync
fs.readFileSync
fs.openSync
fs.readSync
fs.writeSync
fs.statSync
fs.lstatSync
fs.fstatSync
fs.closeSync
License
Apache-2.0