floader

File reading utility, Browserify aware

npm install floader
25 downloads in the last day
101 downloads in the last week
380 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