@teambit/any-fs

v0.0.5
any-fs is a composable and extendible file-system and fully compatible with the node `fs` module.

any-fs

npm

any-fs is a composable and extendible file-system and fully compatible with the node fs module.

Usage

var { MemoryFS } = require('@teambit/any-fs');
const fs = new MemoryFS() 
fs.writeFile()
var { Volume } = require('@teambit/any-fs');
const fs = new Volume() 
fs.writeFile()

Adapters

AnyFS comes with following adapters

  • Memory - Builtin, access with MemoryFS
  • Fs - node fs

Features

  • Full compatibility to the Node fs module.
  • Supports the node fs promises API

In-Progress

  • Docker volume
  • Kubernetes
  • SFTP
  • AWS S3
  • Google storage

Made with ❤ to free software by Team Bit.

npm i @teambit/any-fs

Metadata

  • MIT
  • >=6
  • Team Bit
  • released 2/16/2020

Downloads