This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------- | |
# List the release notes of any npm package, | |
# as long as it publishes releases on GitHub. | |
# | |
# Usage: releasenotes d3 | |
# ------------------------------------------- | |
function releasenotes() { | |
URL=$( | |
npm view $1 repository.url |\ | |
xargs npx parse-github-url |\ |
OlderNewer