JSPM

filer-browserify

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q12933F
  • License BSD

Browserify module for Filer

Package Exports

  • filer-browserify

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (filer-browserify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Filer for Browserify

This module provides a browser-compatible equivalent for node.js's fs module when browserifying your build. For more information on Filerjs, a JavaScript implementation of a full POSIX filesystem for the browser, see the filerjs repo on github.

Usage | Step 1: Include as a dependency

// package.json
{
  // ...
  "dependencies": {
      "filer-browserify": "*"
  }
}

Usage | Step 2: Map the module to fs

// package.json
{
  "dependencies": {
      "filer-browserify": "*"
  },
  "browser": {
      "fs": "filer-browserify"
  }
}

Usage | Step 3: Build

Browserify as normal!

Contributing

Feel free to file issues as you see them, and hop on #filer on irc.mozilla.org to discuss bugs you would like to fix.