floader

File reading utility, Browserify aware

npm install floader
23 downloads in the last day
116 downloads in the last week
399 downloads in the last month

floader

File reading utility, Browserify aware.

Use fs.readFile when directly required. Use XHR when being browserified.

Installation

npm install floader

Example

var loader = require('floader');
loader.load('/path/to/file', function (err, content) {
    console.log(content);
});
npm loves you