number-of-search-results

1.0.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i number-of-search-results

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

5.59 kB

Total Files

5

Last publish

Collaborators

  • odynvolk