rescache

Resource caching

rescache

Resource caching

npm install rescache
var rescache = require('rescache');
 
rescache.cache('https://github.com/favicon.ico');
 
rescache.read('https://github.com/favicon.ico', function (data) {
  console.log(data.mime);
  console.log(data.charset);
  console.log(data.buffer.toString('base64'));
});
 
rescache.remove('https://github.com/favicon.ico');

MIT