NPM Version Badge - Svelte Shields

Props #

Types #

Examples #

Basic usage #

packageName may be the name of an unscoped package like package-name or a scoped package like @author/package-name.

tag can be next, v1, v2, beta, etc.

NPM version of svelte NPM version of @sveltejs/kit

Style #

Possible values: flat, flat-square, plastic, for-the-badge, social. If not specified, the default style for this badge is "flat".

NPM version of svelte NPM version of svelte NPM version of svelte NPM version of svelte NPM version of svelte

Color #

Background color of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported).

NPM version of svelte NPM version of svelte NPM version of svelte NPM version of svelte NPM version of svelte NPM version of svelte

Logo & Label #

NPM version of svelte

Link #

Specify what clicking on the left/right of a badge should do.

Tag #

NPM version of svelte-awesome-icons NPM version of svelte-awesome-icons

Other #

cacheSeconds is HTTP cache lifetime (rules are applied to infer a default value on a per-badge basis, any values specified below the default will be ignored).

NPM version of svelte