Skip to content

doesdev/go-versions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-versions NPM version js-standard-style Dependency Status

Get list of GO version tags

local install

$ npm install --save go-versions

cli install

$ npm install --global go-versions

programmatic usage

const goVersions = require('go-versions')
goVersions().then(console.log).catch(console.error)

cli usage

$ go-versions
# 1.7.3
# 1.7.2
# ...

extra

The version list is pulled from github releases. For 90% of cases this needs no special handling or thought. However, for things like CI which rely on this module you may encounter problems due to rate limiting. To remedy that we will pass your (github auth token)[https://github.com/settings/tokens] if you have it set as an environment variable.

set GITHUB_OAUTH_TOKEN=mytoken

License

MIT © Andrew Carpenter

About

Get list of GO version tags

Resources

License

Stars

Watchers

Forks

Packages

No packages published