jvilk / BrowserFS

BrowserFS is an in-browser filesystem that emulates the Node JS filesystem API and supports storing and retrieving files from various backends.
Other
3.06k stars 216 forks source link

Is there any require npm module (or import) that works with files stored with BrowserFS? #306

Closed steffanhalvorsen closed 1 year ago

steffanhalvorsen commented 3 years ago

Is there any known require modules that works with this lib?

Ex. https://github.com/requirejs/requirejs/issues/1819 Ex. for path we can use this: https://github.com/browserify/path-browserify (remember to set const process = { cwd() { return '/' }}) // Set root base dir Ex. for git we can use https://github.com/isomorphic-git/isomorphic-git

Also looking for a npm package for browsers that works like isomorphic-git