# grs

> github releases stream module.

Latest version **0.3.0** (published 2016-08-31) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2016-08-31 |
| First published | 2014-06-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | xeodou@gmail.com |
| Maintainers | xeodou |
| Keywords | github, coffee, github-release, stream |

## Links

- npm: https://www.npmjs.com/package/grs
- Repository: https://github.com/xeodou/grs
- Homepage: https://github.com/xeodou/grs#readme
- Issues: https://github.com/xeodou/grs/issues
- npm.io page: https://npm.io/package/grs

## Dependencies (3)

- [request](https://npm.io/package/request.md) ^2.36.0
- [highland](https://npm.io/package/highland.md) ^1.25.4
- [JSONStream](https://npm.io/package/JSONStream.md) ^0.8.2

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2016-08-31
- 0.2.0 — 2016-07-12
- 0.1.3 — 2015-08-12
- 0.1.2 — 2014-06-10
- 0.1.1 — 2014-06-10
- 0.1.0 — 2014-06-10

## README

# GRS

> A github releases stream module

## Getting Started

Install via [npm](http://npmjs.org/grs)

```shell
   npm i grs --save
```

## Usage

```Javascript
var grs = require('grs');

grs({
    repo: 'kbhomes/radiant-player-mac',
    tag: 'v1.1.3',
    name: 'Radiant.Player.zip',
    token: 'abxujuxjsjaalal'    // optional
}).pipe(dist);
```

grs is a readable and writeable stream object.

`token` option is needed to avoid API access limit exceeded error of github.
github allows only 60 times anonymous API access per hour from single global IP address.
You can get your own token at [Personal access tokens](https://github.com/settings/tokens) page.
Never spread your token.

### Event
* `error` If some thing will emit an error event.
* `size` If get the right package info will emit a size event describe the size of the package.


## License

MIT

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