Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 454 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 454 Bytes

cache-quest

Easy to use drop-in cache for simple HTTP requests

Usage

Cache-Quest can be used just like request

var request = require('cache-quest')({expirationTimeout: 10000});
request('http://www.google.com', function (error, response, body) {
  if (!error) {
    console.log(body); // Print the google web page.
  }
});

Support

Currently supports request and request.get