google-image-searcher

v1.0.3
Finds first valid image of a search in Google Image Search
google images search google images google-images google search google-search image search image-search and 1 more...

Google-Image-Searcher google_logo

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

Metadata

  • ISC
  • Whatever
  • ExoMemphiz
  • released 4/10/2018

Downloads

Maintainers