wayne
wayne copied to clipboard
Add support for browser File systems
It should work with:
- [ ] BrowserFS
- [ ] Lightning-fs
It should work similar to express, maybe something like:
import FS from 'https://cdn.jsdelivr.net/npm/@isomorphic-git/lightning-fs';
const fs = new FS("<name>");
app.use(Wayne.serve(fs, { prefix: '__fs__' })
It will require adding middleware maybe I will steal the API and architecture from express.js.