Mohammad Asif cf937194cb Removed un-waned things 1. 5 月之前
..
prebuilds cf937194cb Removed un-waned things 1. 5 月之前
CMakeLists.txt cf937194cb Removed un-waned things 1. 5 月之前
LICENSE cf937194cb Removed un-waned things 1. 5 月之前
README.md cf937194cb Removed un-waned things 1. 5 月之前
binding.c cf937194cb Removed un-waned things 1. 5 月之前
binding.js cf937194cb Removed un-waned things 1. 5 月之前
index.js cf937194cb Removed un-waned things 1. 5 月之前
package.json cf937194cb Removed un-waned things 1. 5 月之前
promises.js cf937194cb Removed un-waned things 1. 5 月之前

README.md

bare-fs

Native file system for Javascript.

npm i bare-fs

Usage

const fs = require('bare-fs')

// Currently supports:

fs.access
fs.chmod
fs.close
fs.chmod
fs.exists
fs.fstat
fs.ftruncate
fs.lstat
fs.mkdir
fs.open
fs.opendir
fs.read
fs.readdir
fs.readlink
fs.readv
fs.realpath
fs.rename
fs.rmdir
fs.stat
fs.symlink
fs.unlink
fs.watch
fs.write
fs.writev

fs.readFile
fs.writeFile

fs.promises.access
fs.promises.chmod
fs.promises.lstat
fs.promises.mkdir
fs.promises.opendir
fs.promises.readFile
fs.promises.readdir
fs.promises.readlink
fs.promises.realpath
fs.promises.rename
fs.promises.rmdir
fs.promises.stat
fs.promises.symlink
fs.promises.unlink
fs.promises.watch
fs.promises.writeFile

fs.createReadStream
fs.createWriteStream

fs.accessSync
fs.chmodSync
fs.closeSync
fs.existsSync
fs.fchmodSync
fs.fstatSync
fs.lstatSync
fs.mkdirSync
fs.openSync
fs.opendirSync
fs.readSync
fs.readdirSync
fs.readlinkSync
fs.realpathSync
fs.renameSync
fs.rmdirSync
fs.statSync
fs.symlinkSync
fs.unlinkSync
fs.writeSync

fs.readFileSync
fs.writeFileSync

License

Apache-2.0