# bing_count

> counts the number of bing search results for the given query

Latest version **1.0.4** (published 2015-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install bing_count
pnpm add bing_count
yarn add bing_count
bun add bing_count
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2015-03-13 |
| First published | 2015-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Geza Kovacs |
| Maintainers | geza |
| Keywords | bing, count, search, results, number |

## Links

- npm: https://www.npmjs.com/package/bing_count
- Repository: https://github.com/gkovacs/bing_count
- Issues: https://github.com/gkovacs/bing_count/issues
- npm.io page: https://npm.io/package/bing_count

## Dependencies (4)

- [js-yaml](https://npm.io/package/js-yaml.md) ^3.2.7
- [request](https://npm.io/package/request.md) ^2.53.0
- [getsecret](https://npm.io/package/getsecret.md) ^1.0.0
- [mongo_keyval](https://npm.io/package/mongo_keyval.md) ^1.0.4

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2015-03-13
- 1.0.3 — 2015-03-13
- 1.0.2 — 2015-03-12
- 1.0.1 — 2015-03-12
- 1.0.0 — 2015-03-12

## README

# bing_count

counts the number of bing search results for the given query

## Install

    npm install bing_count

## Using

```javascript
var bing_count = require('bing_count')
bing_count('food', function(count) {
  console.log(count) // will output
})
```

## Bing authentication

Please place your credentials in a yaml file .getsecret.yaml with the format

    bing_account_key: your_app_secret_here

Or set bing_count.account_key to the app secret, or specify the environment variable bing_account_key

## Caching

You need to run a mongodb instance on localhost so that results can be cached.

The mongosrv command allows you to do this easily:

    npm install -g mongosrv
    mongosrv

To specify a different mongo url, modify bing_count.keyval.mongourl

## Credits

Author: [Geza Kovacs](http://github.com/gkovacs)

## License

MIT

---
_Source: https://npm.io/package/bing_count · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
