Display a version badge.
Designed to be put right next to your project title:
# chalk <sup></sup>
See the title of this README to get the idea :)
Of course you can link the svg to anywhere like the npm page:
# chalk <sup>[](https://npmjs.com/package/chalk)</sup>
Note: To make this service keep working, you can donate to support my work.
GET /npm/:name
Query:
tag
: Defaultlatest
. Release tag, eg:beta
Examples:
- https://version-badge.egoist.sh/npm/vue
- https://version-badge.egoist.sh/npm/webpack
- https://version-badge.egoist.sh/npm/poi?tag=next
Directly get the version from a file that's hosted on GitHub:
GET /github/:owner/:repo
Alias /gh/:owner/:repo
Query:
file
: Defaultpackage.json
field
: Defaultversion
branch
: Defaultmaster
Examples:
- https://version-badge.egoist.sh/github/zeit/next.js
- https://version-badge.egoist.sh/github/facebookincubator/create-react-app?file=packages/create-react-app/package.json
GET /crate/:name
Examples:
GET /text?text=random_text
Examples:
- https://version-badge.egoist.sh/text?text=beta
- https://version-badge.egoist.sh/text?text=coming%20soon
I made this service because following one does not support npm (directly) and mono repos.
MIT © EGOIST