Socket
Book a DemoInstallSign in
Socket

gh-release-download

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-release-download

Download all assets of a GitHub release

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

gh-release-download

Download and extract all assets of a GitHub release.

screenshot

Example

Using the CLI:

$ cd ~/dev/Level/leveldown
$ gh-release-download dist/
...
$ ls dist/
...

Using the API:

const download = require('gh-release-download')

// point to your local checkout of a repository

const downloader = download({
  dir: process.env.HOME + '/dev/level/leveldown'
})

downloader.events.on('start', name => console.log(`${name}...`))
downloader.events.on('finish', name => console.log(name))

downloader
.then(() => console.log('All downloaded'))
.catch(err => console.error(err))

Installation

For CLI:

$ npm install -g gh-release-download

For API:

$ npm install gh-release-download

License

MIT

FAQs

Package last updated on 05 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts