Skip to content
Display a version badge.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
.editorconfig
.gitattributes
.gitignore
.prettierrc
LICENSE
README.md
now.json
package.json
yarn.lock

README.md

version-badge version badge

Display a version badge.

What?

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.

Usage

npm

GET /npm/:name

Query:

  • tag: Default latest. Release tag, eg: beta

Examples:

github

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:

rust crate

GET /crate/:name

Examples:

text

GET /text?text=random_text

Examples:

Prior Art

I made this service because following one does not support npm (directly) and mono repos.

License

MIT © EGOIST

You can’t perform that action at this time.