1.1.0 • Published 6 months ago
@flystorage/local-fs v1.1.0
Flystorage adapter for the local filesystem
This package contains the Flystorage adapter for the local filesystem.
Installation
Install all the required packages
npm install --save @flystorage/file-storage @flystorage/local-fsUsage
import {FileStorage} from '@flystorage/file-storage';
import {LocalStorageAdapter} from '@flystorage/local-fs';
const rootDirectory = resolve(process.cwd(), 'my-files');
const adapter = new LocalStorageAdapter(rootDirectory);
const storage = new FileStorage(adapter);⚠️ Always use the FileStorage, it is essential for security and a good developer experience. Do not use the adapter directly.
1.1.0
6 months ago
1.0.1
8 months ago
1.0.0
11 months ago
0.1.10
11 months ago
0.1.9
11 months ago
0.1.7
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.5
2 years ago
0.0.6
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago