Display a version badge.
Designed to be put right next to your project title:
# chalk <sup>![version badge](https://version-badge.egoist.sh/npm/chalk)</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>[![version badge](version-badge.egoist.sh/npm/chalk)](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
: Default latest
. Release tag, eg: beta
Examples:
Directly get the version from a file that's hosted on GitHub:
GET /github/:owner/:repo
Alias /gh/:owner/:repo
Query:
file
: Default package.json
field
: Default version
branch
: Default master
Examples:
GET /crate/:name
Examples:
GET /text?text=random_text
Examples:
I made this service because following one does not support npm (directly) and mono repos.
MIT © EGOIST