graphicore / ufoJS

Javascript API for the Unified Font Object
lib.ufojs.org
GNU General Public License v3.0
52 stars 10 forks source link

Create an adapter for io to filer.js. Adds IndexedDB, WebSQL storage. #64

Open graphicore opened 8 years ago

graphicore commented 8 years ago

https://github.com/filerjs/filer

Filer is a POSIX-like file system interface for node.js and browser-based JavaScript.

Uses the same API as node.js fs

Pomax commented 8 years ago

perhaps @humphd also has some tips for doing this; he's quite successfully used it to trick Brackets into think it's running on a POSIX fs while running inside the browser.

graphicore commented 8 years ago

I think this is a no-brainer. We already have an adapter for nodes fs module. So, probably I'm just going to make that module taking the backend as an argument. https://github.com/graphicore/ufoJS/blob/master/lib/tools/io/staticNodeJS.js

Pomax commented 8 years ago

:+1: