npm.io
0.0.5 • Published 6 years ago

@teambit/any-fs

Licence
MIT
Version
0.0.5
Deps
1
Size
211 kB
Vulns
0
Weekly
0
Stars
2

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.