@vlado521/google-it
v1.2.1
Published
A Node.js library to help retrieve Google search results
Downloads
4
Maintainers
Readme
googleit
This library is a modified version of the original google-it library.
It is modified to be used by how2 npm package.
Install
$ npm install --save google-it
Programmatic Use in NodeJS environment
- [x] something like:
const googleIt = require('google-it');
googleIt({ query: 'covfefe irony' })
.then(results => {
// access to results object here
})
.catch(e => {
// any possible errors that might have occurred (like no Internet connection)
});
// with request options
const options = {
proxy: 'http://localhost:8118'
};
googleIt({ options, query: 'covfefe irony' })
.then(results => {
// access to results object here
})
.catch(e => {
// any possible errors that might have occurred (like no Internet connection)
});