Socket
Socket
Sign inDemoInstall

bare-fs

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-fs

Native file system for Javascript


Version published
Weekly downloads
4.4M
increased by8.59%
Maintainers
2
Weekly downloads
 
Created
Source

bare-fs

Native file system for Javascript.

npm i bare-fs

Usage

const fs = require('bare-fs')

// Currently supports:

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

fs.readFile
fs.writeFile

fs.promises.stat
fs.promises.lstat
fs.promises.mkdir
fs.promises.rmdir
fs.promises.unlink
fs.promises.rename
fs.promises.readlink
fs.promises.opendir
fs.promises.readdir
fs.promises.readFile
fs.promises.writeFile
fs.promises.chmod

fs.createReadStream
fs.createWriteStream

fs.openSync
fs.closeSync
fs.readSync
fs.writeSync
fs.statSync
fs.lstatSync
fs.fstatSync
fs.readFileSync
fs.writeFileSync
fs.chmodSync

License

Apache-2.0

FAQs

Package last updated on 14 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc