Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/odynvolk/number-of-search-results
A node module for retrieving number of search results for queries
https://github.com/odynvolk/number-of-search-results
bing google javascript npm seo
Last synced: 2 months ago
JSON representation
A node module for retrieving number of search results for queries
- Host: GitHub
- URL: https://github.com/odynvolk/number-of-search-results
- Owner: odynvolk
- Created: 2017-05-02T18:44:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-17T14:47:58.000Z (almost 6 years ago)
- Last Synced: 2024-09-17T02:04:29.393Z (4 months ago)
- Topics: bing, google, javascript, npm, seo
- Language: HTML
- Homepage:
- Size: 105 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 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.
## InstallInstall with [npm](https://www.npmjs.com/)
```sh
$ npm install number-of-search-results --save
```## Usage
```js
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:
```sh
$ npm test
```## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/odynvolk/number-of-search-results/issues/new)
## Author
+ [github/odynvolk](https://github.com/odynvolk)
## License
Released under the MIT license.