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.svg
Query:
tag
: Defaultlatest
. Release tag, eg:beta
Examples:
- https://v.egoist.moe/npm/vue.svg
- https://v.egoist.moe/npm/webpack.svg
- https://v.egoist.moe/npm/poi.svg?tag=next
Directly get the version from a file that's hosted on GitHub:
GET /gh/:owner/:repo.svg
Query:
file
: Defaultpackage.json
field
: Defaultversion
branch
: Defaultmaster
Examples:
- https://v.egoist.moe/gh/zeit/next.js.svg
- https://v.egoist.moe/gh/facebookincubator/create-react-app.svg?file=packages/create-react-app/package.json
I made this service because following one does not support npm (directly) and mono repos.
MIT © EGOIST