https://github.com/doesdev/go-versions
Get list of GO version tags
https://github.com/doesdev/go-versions
Last synced: 4 months ago
JSON representation
Get list of GO version tags
- Host: GitHub
- URL: https://github.com/doesdev/go-versions
- Owner: doesdev
- License: mit
- Created: 2016-11-24T17:27:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-08T21:03:14.000Z (about 6 years ago)
- Last Synced: 2025-03-10T20:09:00.322Z (4 months ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-versions [](https://npmjs.org/package/go-versions) [](https://github.com/feross/standard) [](https://dependencyci.com/github/doesdev/go-versions)
> Get list of GO version tags
## local install
```sh
$ npm install --save go-versions
```## cli install
```sh
$ npm install --global go-versions
```## programmatic usage
```js
const goVersions = require('go-versions')
goVersions().then(console.log).catch(console.error)
```## cli usage
```sh
$ 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.```sh
set GITHUB_OAUTH_TOKEN=mytoken
```## License
MIT © [Andrew Carpenter](https://github.com/doesdev)