googleimgkmoz

1.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i googleimgkmoz

      Weekly Downloads

      2

      Version

      1.0.1

      License

      GPL-3.0

      Unpacked Size

      38 kB

      Total Files

      4

      Last publish

      Collaborators

      • kmoz000