Home Filer.js: A UNIX-Like Wrapper for the HTML5 Filesystem API

Filer.js: A UNIX-Like Wrapper for the HTML5 Filesystem API

Eric Bidelman, an engineer on Google’s Chrome team, has released a JavaScript wrapper library for the HTML5 Filesystem API. Called filer.js, the library is available on GitHub under the Apache 2.0 License.

If Bidelman’s name is familiar, it’s because he wrote the book on the HTML5 Filesystem API, literally. Bidelman also worked on the Python Client Library for Google Docs.

The idea, says Bidelman, is to make the HTML5 API “more approachable for developers that have done file I/O in other languages” as well as making common operations like renaming, moving and duplicating files easier. To that end, the library uses familiar UNIX-type commands (cd, cp, mkdir, mv, rm and others) and accepts entries in several formats.

Bidelman has also included sample code, tests and a sample app for testing out filer.js.

Currently, the HTML5 Filesystem API is only implemented in Chrome, so you won’t be able to make use of filer.js in other browsers. If you’re not familiar with the HTML5 Filesystem API yet, there’s Bidelman’s book as well as a tutorial on exploring the filesystem APIs on HTML5 Rocks.

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.