google-cache
v0.0.1
Published
Check out if Google has a cached version of URL
Downloads
5
Readme
google-cache
Node.js module to check if URL present in Google Cache.
Installation
npm install google-cache --save
Usage
var googlecache = require('google-cache');
googlecache('https://github.com', function(err, data) {
if (err) {
console.log(err); // if there was any error
}
console.log(data.cache); // URL of the cached page
console.log(data.cacheTextOnly); // URL of the cached page (text only)
console.log(data.date); // Date of caching
console.log(data.title); // Title of the cached webpage
});