Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bare-fs

Package Overview
Dependencies
Maintainers
2
Versions
48
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

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.7M
increased by6.07%
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.access
fs.chmod
fs.close
fs.copyFile
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.appendFile
fs.readFile
fs.writeFile

fs.promises.access
fs.promises.chmod
fs.promises.copyFile
fs.promises.lstat
fs.promises.mkdir
fs.promises.opendir
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.appendFile
fs.promises.readFile
fs.promises.writeFile

fs.createReadStream
fs.createWriteStream

fs.accessSync
fs.chmodSync
fs.closeSync
fs.copyFileSync
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.appendFileSync
fs.readFileSync
fs.writeFileSync

License

Apache-2.0

FAQs

Package last updated on 26 Nov 2024

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