@stats-forge/card-kit
v0.1.1
Published
The frame, themes, text and api boundary the stats-forge cards are drawn with
Maintainers
Readme
@stats-forge/card-kit
The frame, themes, text and query-string boundary the stats-forge cards are drawn with.
npm install @stats-forge/card-kitA package of cards brings its own fetchers and renderers, and draws them with what this one holds:
Card,CARD_STYLEand the render helpers, for a card that looks like the othersthemesandgetLightDarkColors, for one theme or alight,darkpairdefineLocalesandlocalize, for every word a card drawsCardError, which a package extends with its own failures throughregisterFailurescardHandlerForand the param helpers, which parse a query string once into typed options
It is 0.x: a minor release may break the API.
