wangpin34 / fs-h5

file system API of HTML5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fs-h5

HTML5 file API wrapper as node style file system.

Build Status Circle CI NPM

headers-up

In April 2014, it was announced on public-webapps that the Filesystem API spec is not being considered by other browsers. For now, the API is Chrome-specific and it's unlikely to be implemented by other browsers and is no longer being standardized with the W3C.

Actuall it's only supported by Chrome, and also several envs which are using Chrome core like nwjs, cordova etc. It is still useful.

Install

npm install fs-h5 --save

Inspired & Reference

Release log

  • 1.1.4 beta release

  • 1.2.0 promisify and rename several methods

     isInitialized ->  isReady
     existsDir + existsFile -> existsPath
    

    Add a new method requestQuota for applying persistent storage.

  • 1.2.1 Update readme

  • 1.2.2 Build es5 release

    Previously the first step to use fs-h5 is compile it through babel. It is not very friendly because some one doesn't use es2015 currently. So I build a pure es5 code and publish it.

LICENSE

MIT

About

file system API of HTML5

License:MIT License


Languages

Language:JavaScript 100.0%Language:HTML 0.0%