google-image-searcher
v1.0.9
Published
Finds first valid image of a search in Google Image Search
Downloads
16
Maintainers
Readme
Google-Image-Searcher
Information
Google-Image-Searcher attempts to find the first image given a search term on google images. It then returns the first valid link to an image it can find.
Installation
npm install --save google-image-searcher
Usage
Example: Find the Node Logo
var searcher = require('google-image-searcher');
searcher.GoogleImages('Node Logo', (link, timeMilli) => {
console.log(`Found link: ${link}`);
console.log(`Took ${timeMilli}ms`);
})
Result:
Found link: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.png
Took 3283ms