Skip to content

arthurlacoste/bemor-latest-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bemor-latest-github

NPM Version travis xo

Get latest releases of a Github repository.

install

npm i bemor-latest-github -S

Usage

('auth/app')

data is an Object.

const ls = require('bemor-latest-github');

lg('jgm/pandoc', (err, data) => {
	if (err) {
		return console.log(err);
	}
	console.log(data);
});

You will get this in an Object.

list('auth/app')

data is an array.

const ls = require('bemor-latest-github');

lg.list('jgm/pandoc', (err, data) => {
	if (err) {
		return console.log(err);
	}
	console.log(data);
});

You will get this :

[ 'https://github.com/jgm/pandoc/releases/download/2.0.1.1/pandoc-2.0.1.1-1-amd64.deb',
  'https://github.com/jgm/pandoc/releases/download/2.0.1.1/pandoc-2.0.1.1-linux.tar.gz',
  'https://github.com/jgm/pandoc/releases/download/2.0.1.1/pandoc-2.0.1.1-macOS.pkg',
  'https://github.com/jgm/pandoc/releases/download/2.0.1.1/pandoc-2.0.1.1-windows.msi' ]

Licence

MIT

About

Get latest releases of a Github repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published