New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ego

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ego

Find your rank on Google and other search engines.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

node-ego

Find your rank on Google and other search engines.

Getting Started

Install the module with: npm install ego

ego = require 'ego'

ego.rank
  phrase: "ebay"
  domain: "ebay.com"
  success: (result) ->
    console.log "Google position: #{result.position}"

output: "Google position: 1"

Examples

Delay

Google will temporarily block searches if they suspect you're automating searches. You can specify a delay (in milliseconds) between each pagination to avoid this.

ego.options.delay = 5000

# or

ego.rank
  delay: 5000
  phrase: "ebay"
  domain: "ebay.com"
  success: (result) ->
    console.log "Google position: #{result.position}"

Documentation

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Roadmap

  • Incorporate bing/yahoo

Release History

v0.1.0

  • now using node-google

License

Copyright (c) 2013 Simon W. Jackson
Licensed under the MIT license.

Keywords

google

FAQs

Package last updated on 25 Feb 2013

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