Socket
Socket
Sign inDemoInstall

googleimgkmoz

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    googleimgkmoz

get all you need from google image by just a simple javascript class that returne array of direct url's for your reseached query


Version published
Weekly downloads
7
Maintainers
1
Install size
37.1 kB
Created
Weekly downloads
 

Readme

Source

Google-Images-Api-replacment

get all you need from google image by just a simple javascript class that returne array of direct url's for your reseached query

usage :

 ```javascript
  var srch = require('Googleimg');
  srch.img("dogs").then((data) => {
  console.log(data);
  let x = document.createElement("IMG");
  x.setAttribute("src",data[55]);
  x.setAttribute("height",'480');
  x.setAttribute("width",'320');
  x.setAttribute("alt","none");
  document.querySelector('.input').appendChild(x);
})
 ```
 >NB/ if you need more than the src you can search in the package for **res.images** variable and console it

Keywords

FAQs

Last updated on 15 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc