google-it
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"
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 --query="open whisper systems" -O 5
$ google-it --query="mechanical turk" --only-urls
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 => {
})