fscache-stream

0.1.2 • Public • Published

fscache-stream Build Status Coverage Status

A passtrough stream caching buffer to file system


Install

$ npm install fscache-stream -g

Usage

var http = require('http');
var fscache = require('fscache-stream');
var file = 'http://code.jquery.com/jquery-1.11.0.js';
http.get(file, function(req, res){
  req
  .pipe(fscache('jquery.js'))
  .pipe(process.stdout);
});

LISENCE

Copyright (c) 2014 popomore. Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i fscache-stream

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • popomore