# bing-news

> JavaScript API for querying Bing News

Latest version **1.1.3** (published 2015-02-23) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install bing-news
pnpm add bing-news
yarn add bing-news
bun add bing-news
```

## 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.1.3 |
| Published | 2015-02-23 |
| First published | 2015-02-22 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Peter Andreas Moelgaard |
| Maintainers | pmoelgaard |
| Keywords | bing, news, javascript |

## Links

- npm: https://www.npmjs.com/package/bing-news
- Repository: https://github.com/pmoelgaard/bing-news
- Issues: https://github.com/pmoelgaard/bing-news/issues
- npm.io page: https://npm.io/package/bing-news

## Dependencies (5)

- [extend](https://npm.io/package/extend.md) ^2.0.0
- [lokijs](https://npm.io/package/lokijs.md) ^1.1.15
- [request](https://npm.io/package/request.md) ^2.53.0
- [feedparser](https://npm.io/package/feedparser.md) ^0.19.2
- [nx-url-hash](https://npm.io/package/nx-url-hash.md) ^1.0.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.1.3 (latest) — 2015-02-23
- 1.1.2 — 2015-02-22
- 1.1.1 — 2015-02-22
- 1.1.0 — 2015-02-22
- 1.0.1 — 2015-02-22
- 1.0.0 — 2015-02-22

## README

# Bing News API

JavaScript API for querying Bing News.
&nbsp;

---

## Usage (CoffeeScript)

  	BingNews = require('bing-news')
  	bingNews = new BingNews()
  
  	track = 'Volvo'
  	
  	bingNews.stream track, (stream) ->
  
    	stream.on BingNews.DATA, (data) ->
      		console.log 'Data Event received... '+ data.title
  
    	stream.on BingNews.ERROR, (error) ->
      		console.log 'Error Event received... '+ error


## Usage (JavaScript)

    (function() {
    
      var GoogleNews, googleNews, track;
      
      GoogleNews = require('google-news');
      googleNews = new GoogleNews();
    
      track = 'Volvo';
    
      googleNews.stream(track, function(stream) {
      
        stream.on(GoogleNews.DATA, function(data) {
          return console.log('Data Event received... ' + data.title);
        });
      
        return stream.on(GoogleNews.ERROR, function(error) {
          return console.log('Error Event received... ' + error);
        });
      });
    
    }).call(this);

## Author
Peter Andreas Moelgaard ([GitHub](https://github.com/pmoelgaard), [Twitter](https://twitter.com/petermoelgaard))

## License
Licensed under the Apache License, Version 2.0: [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)

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