wayne icon indicating copy to clipboard operation
wayne copied to clipboard

Add support for browser File systems

Open jcubic opened this issue 2 years ago • 0 comments

It should work with:

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.

jcubic avatar Jul 08 '22 11:07 jcubic