Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

A command line utility to help retrieve, display, and store Google search results

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
80K
increased by6.56%
Maintainers
1
Weekly downloads
 
Created
Source

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 "Latvian unicorn"

GIF of google-it

Upcoming Features Roadmap

Command Line Arguments

  • query - the query that should be sent to the Google search
  • output - name of the JSON file to save results to
  • save - name of the html file if you want to save the actual response from the html request (useful for debugging purposes)
  • limit - number of search results to be returned
  • verbose - console.log useful statements to show what's currently taking place
  • interactive - once results are returned, show them in an interactive prompt where user can scroll through them
  • bold-matching-text - only takes effect when interactive (-i) flag is set as well, will bold test in results that matched the query
  • stackoverflow-github-only - option to limit results to only these two sites

Programmatic Use in NodeJS environment

  • something like:
var googleIt = require('google-it')
googleIt('covfefe irony').then(results => {
  // access to results object here
}).catch(e => {
  // any possible errors that might have occurred (like no Internet connection)
})

Keywords

FAQs

Package last updated on 14 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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