Skip to content
/ grs Public
forked from xeodou/grs

A github releases download stream module

License

Notifications You must be signed in to change notification settings

mcampster/grs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRS

A github releases stream module

Getting Started

Install via npm

   npm i grs --save

Usage

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 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

About

A github releases download stream module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.8%
  • CoffeeScript 28.2%