first-image-search-load

0.4.0 • Public • Published

Description

Simple module that loads the first image from Google image search on query

Module usues url : https://www.google.nl/search?tbm=isch&q= Request returns A+ promises, thanks to q module.

API

saveFirstImage(queryString, fileNameAndPath) Saves the first image to disk as a file

getFirstImageURL(queryString) Returns URL of the first image in the search results

getImagesArray(queryString) Returns array of URLs of the images in the search results

Dependencies

Dependents (0)

Package Sidebar

Install

npm i first-image-search-load

Weekly Downloads

1

Version

0.4.0

License

MIT

Last publish

Collaborators

  • mkuznetcov