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.07k stars 218 forks source link

Define how to instantiate the API #10

Closed jvilk closed 11 years ago

jvilk commented 11 years ago

You should be able to instantiate the API in some way.

For example, for an easy one-filesystem case: fs.instantiate(BrowserFS.BrowserStorage())

For multiple in a hierarchy, you'd have to use something more complex.

jvilk commented 11 years ago

Already done, for the most part. the fs API has an instantiate function, but I might move it up to just BrowserFS.Instantiate.