Skip to content

komachi/google-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
});

About

Node.js module to check if URL present in Google Cache

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published