Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doesdev/go-versions
Get list of GO version tags
https://github.com/doesdev/go-versions
Last synced: about 20 hours 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-08T21:03:14.000Z (over 5 years ago)
- Last Synced: 2024-11-01T19:37:27.790Z (18 days 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 [![NPM version](https://badge.fury.io/js/go-versions.svg)](https://npmjs.org/package/go-versions) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) [![Dependency Status](https://dependencyci.com/github/doesdev/go-versions/badge)](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)