The official adapter for @jsvfs/core using multiple other adapters.
@jsvfs/core
If you're looking to create new adapters, please use @jsvfs/types and look to @jsvfs/adapter-node-fs as an example.
@jsvfs/types
@jsvfs/adapter-node-fs
So long as other adapters support these features, this adapter supports:
This adapter does not support:
Get it from npm:
npm install --save @jsvfs/adapter-multi
This adapter requires other adapters. After creating an instance, register other adapters to use them together.
import { MultiAdapter } from '@jsvfs/adapter-multi' import { MinioS3Adapter } from '@jsvfs/adapter-minio-s3' import { NodeFSAdapter } from '@jsvfs/adapter-node-fs' const adapter = new MultiAdapter() adapter.register(new NodeFSAdapter({ cwd: '/tmp' })) adapter.register(new MinioS3Adapter({ access: { endPoint: 'localhost', port: 4568, useSSL: false, accessKey: 'S3RVER', secretKey: 'S3RVER' } }))
Complete documentation of jsvfs can be found at the jsvfs site.
jsvfs
Generated using TypeDoc
JSVFS Adapter: Multi Adapter
The official adapter for
@jsvfs/core
using multiple other adapters.If you're looking to create new adapters, please use
@jsvfs/types
and look to@jsvfs/adapter-node-fs
as an example.Supported Features
So long as other adapters support these features, this adapter supports:
This adapter does not support:
Installation
Get it from npm:
Usage
This adapter requires other adapters. After creating an instance, register other adapters to use them together.
Documentation
Complete documentation of
jsvfs
can be found at the jsvfs site.