floader

File reading utility, Browserify aware

npm install floader
14 downloads in the last day
112 downloads in the last week
397 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