google-image-searcher
v1.0.9
Published
Finds first valid image of a search in Google Image Search
Downloads
14
Maintainers
Readme
Google-Image-Searcher ![google_logo](https://i.imgrpost.com/imgr/2018/04/10/Google-30x30.png)
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