google-image-searcher

1.0.9 • Public • Published

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

Package Sidebar

Install

npm i google-image-searcher

Weekly Downloads

2

Version

1.0.9

License

ISC

Unpacked Size

3.26 kB

Total Files

3

Last publish

Collaborators

  • exomemphiz