An alternative API service of https://jsr.io
MIT License
An alternative API of jsr.io.
API endpoint: https://jsr-api.sxzz.moe/
API service for https://shields.io/badges/endpoint-badge.
/badge/<@scope>/<pkg>
GET
[![jsr](https://img.shields.io/endpoint?url=https%3A%2F%2Fjsr-api.sxzz.moe%2Fbadge%2F%40<scope>%2F<pkg>)](https://jsr.io/@<scope>/<pkg>)
Replace <scope>
and <pkg>
with the package's scope (without @
) and name.
/version/<@scope>/<pkg>
GET
{
"version": "1.0.0"
}
[{ "error": "Package not found" }, { "error": "Unknown error" }]
/versions/<@scope>/<pkg>
GET
["0.0.0", "0.0.1"]
[{ "error": "Package not found" }, { "error": "Unknown error" }]