https://github.com/teambit/any-fs
anyfs is a composable and extendible file-system and fully compatible with the node `fs` module.
https://github.com/teambit/any-fs
Last synced: 2 months ago
JSON representation
anyfs is a composable and extendible file-system and fully compatible with the node `fs` module.
- Host: GitHub
- URL: https://github.com/teambit/any-fs
- Owner: teambit
- Created: 2020-01-08T10:36:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-16T13:53:22.000Z (over 5 years ago)
- Last Synced: 2025-03-28T03:32:56.260Z (3 months ago)
- Language: TypeScript
- Size: 36.1 KB
- Stars: 2
- Watchers: 7
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Contributing: contributing.md
Awesome Lists containing this project
README
# any-fs
any-fs is a composable and extendible file-system and fully compatible with the node `fs` module.
## Usage
```js
var { MemoryFS } = require('@teambit/any-fs');
const fs = new MemoryFS()
fs.writeFile()
```````js
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 storageMade with ❤ to free software by Team Bit.