Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

google-index

1.1.1 • Public • Published

Google index CLI tool

Test codecov NPM version Dependency Status Dev Dependency Status

This is CLI tool for retreiving data from Google search pages.

Functionality available:

  • Get count of indexed pages for you sites google-index count

Installation

npm i -g google-index

Usage

$ google-index
You must specify the command to run
 
google-index <command> [options]
 
Commands:
  google-index count  Count amount of pages in Google index
 
Options:
  --help     Show help                                    [boolean]
  --version  Show version number                          [boolean]

1. Get count of pages in Google index

Accepts --sites option with JSON array of sites' domains (without protocol https://).

Returns array parsed data.

$ google-index count --sites='["exmaple.com","exmaple2.com"]'
[
  { site: 'exmaple.com', count: 8080 },
  { site: 'exmaple2.com', count: 1210 }
]

1.1 Runnin count command under root user

count command accepts --under-root=true\fales option.

Passing true will disable Chromium sanboxinx during pages parsing. Using this option is less secure so use it at your own risk.

Install

npm i google-index

DownloadsWeekly Downloads

3

Version

1.1.1

License

MIT

Unpacked Size

12.5 kB

Total Files

12

Last publish

Collaborators

  • avatar