Socket
Socket
Sign inDemoInstall

google-it

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-it - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

google-it-demo.gif

15

app.js

@@ -0,6 +1,10 @@

#! /usr/bin/env node
var request = require('request')
var fs = require('fs')
const cheerio = require('cheerio')
var cheerio = require('cheerio')
var colors = require('colors')
const ora = require('ora')
const spinner = ora({text: 'Loading results', color: 'cyan'}).start();
// const commandLineArgs = require('command-line-args')

@@ -21,5 +25,5 @@

process.argv.forEach(function (val, index, array) {
console.log(index + ': ' + val);
});
// process.argv.forEach(function (val, index, array) {
// console.log(index + ': ' + val);
// });

@@ -31,3 +35,3 @@ var query = ""

query = process.argv[2]
console.log("query: " + query)
// console.log("query: " + query)
}

@@ -54,2 +58,3 @@

} else {
spinner.stop()
var results = getResults(body)

@@ -56,0 +61,0 @@ }

{
"name": "google-it",
"version": "1.0.0",
"description": "",
"main": "index.js",
"version": "1.0.1",
"description": "A command line utility to help retrieve, display, and store Google search results",
"main": "./app.js",
"bin": "./app.js",
"repository": {
"type": "git",
"url": "https://github.com/PatNeedham/google-it.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"keywords": [
"google-search",
"google-search-to-json"
],
"author": "Pat Needham (pat@needham.io)",
"license": "ISC",

@@ -16,4 +24,5 @@ "dependencies": {

"command-line-args": "^4.0.7",
"ora": "^1.3.0",
"request": "^2.81.0"
}
}

@@ -1,3 +0,13 @@

### google-it
# google-it
A simple library to convert google search results to JSON output, with an interactive display option coming in the near future.
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 "Latvian unicorn"`
![GIF of google-it](google-it-demo.gif?raw=true "google-it")
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc