npm Version
Display the latest version of any npm package.
Show the current published version of a package.
GET/npm/:package.svg
Path Parameters
required
Unscoped (react) or scoped (@types/react).

URL formats
/npm/{package}.svg
/npm/v/{package}.svg
/npm/v/{package}/{tag}.svg
Examples
Default variant
Secondary variant
Branded (npm red)
Outline variant
Blue theme
Custom label
Copy-paste examples
Default — clean version badge for READMEs
Branded — npm's official red
Scoped package — secondary variant
Data source
Uses registry.npmjs.org. No API key required. Cached 1 hour.