Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phillipj/changelog-url
Resolve URLs to the Node.js changelog
https://github.com/phillipj/changelog-url
Last synced: about 1 month ago
JSON representation
Resolve URLs to the Node.js changelog
- Host: GitHub
- URL: https://github.com/phillipj/changelog-url
- Owner: phillipj
- Created: 2015-12-07T19:01:45.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-14T20:32:09.000Z (over 8 years ago)
- Last Synced: 2024-04-14T22:44:51.548Z (7 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# changelog-url
[![Build Status](https://api.travis-ci.org/phillipj/changelog-url.png)](http://travis-ci.org/phillipj/changelog-url)
Resolve URLs to the Node.js changelog. Handles legacy versions of Node.js, aswell as io.js and todays Node.js.
## .githubUrl(version)
Resolve the GitHub URL of the changelog for any given version, typically the one you'd reference to in releases.
```js
const url = changelog.githubUrl('v4.2.3')
// -> 'https://github.com/nodejs/node/blob/v4.2.3/CHANGELOG.md'
```## .rawUrl(version)
Resolve the URL of the raw changelog content for any given version.
```js
const url = changelog.rawUrl('v4.2.3')
// -> 'https://raw.githubusercontent.com/nodejs/node/v4.2.3/CHANGELOG.md'
```# License
MIT