Using the local filesystem adapter
import { fs } from '@odroe/fs';
import { LocalAdapter } from '@odroe/fs-local';
const local = new LocalAdapter('/storage');
fs.registerAdapter('local', local);
import { fs } from '@odroe/fs';
import { LocalAdapter } from '@odroe/fs-local';
const local = new LocalAdapter('/storage');
fs.registerAdapter('local', local);
npm i @odroe/fs-local
1
0.1.10
MIT
16.7 kB
12