number-of-search-results

v1.0.5
Small module for retrieving number of search results for a given query from different search engines.

number-of-search-results

Small module for retrieving number of search results for a given query from different search engines. It doesn't scrape the actual links.

Install

Install with npm

$ npm install number-of-search-results --save

Usage


const numSearchResults = require("number-of-search-results");

const query = "javascript";  
const bing = numSearchResults.bing(query).then((numResults) => {
  //=> 190000000
});

const google = numSearchResults.google(query).then((numResults) => {
  //=> 200000000
});

Running tests

Install dev dependencies:

$ npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

License

Released under the MIT license.

npm i number-of-search-results

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 3/17/2019

Downloads

Maintainers