@teambit/any-fs

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

Usage no npm install needed!

<script type="module">
  import teambitAnyFs from 'https://cdn.skypack.dev/@teambit/any-fs';
</script>

README

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.