google-it
![Maintainability](https://api.codeclimate.com/v1/badges/fe8329b7641ea86326e4/maintainability)
A simple library to convert Google search results to JSON output, with an interactive display option coming in the near future.
Install
$ npm install --save -g google-it
Example Usage
$ google-it --query="Latvian unicorn"
![google-it GIF of google-it](https://github.com/PatNeedham/google-it/raw/HEAD/./images/google-it-demo.gif?raw=true)
Prevent display in the terminal, and save results to a JSON file:
$ google-it --query="PWAs with react-router and redux" -o results.json -n
![google-it GIF of google-it w/o display, results saved to file](https://github.com/PatNeedham/google-it/raw/HEAD/./images/google-it-output-no-display.gif?raw=true)
$ google-it --query="open whisper systems" -O 5
![google-it-to-browser GIF of opening-in-browser](https://github.com/PatNeedham/google-it/raw/HEAD/./images/open-results-in-browser.gif?raw=true)
$ google-it --query="mechanical turk" --only-urls
![onlyUrls Screenshot of only-urls option](https://github.com/PatNeedham/google-it/raw/HEAD/./images/onlyUrls.png?raw=true)
Command Line Arguments
Programmatic Use in NodeJS environment
const googleIt = require('google-it')
googleIt({'query': 'covfefe irony'}).then(results => {
}).catch(e => {
})
const options = {
'proxy': 'http://localhost:8118'
};
googleIt({options, 'query': 'covfefe irony'}).then(results => {
}).catch(e => {
})