go-versions

1.3.2 • Public • Published

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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i go-versions

    Weekly Downloads

    217

    Version

    1.3.2

    License

    MIT

    Unpacked Size

    4.74 kB

    Total Files

    5

    Last publish

    Collaborators

    • doesdev