1.0.5 • Published 7 years ago
number-of-search-results v1.0.5
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 --saveUsage
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 testContributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
License
Released under the MIT license.