Skip to content

Commit

Permalink
docs: add a badge for bundle size
Browse files Browse the repository at this point in the history
  • Loading branch information
yudai-nkt committed Apr 4, 2024
1 parent 4149e21 commit 8c01037
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Satori Factory
[![NPM Version](https://img.shields.io/npm/v/satori-factory?logo=npm)](https://www.npmjs.com/package/satori-factory)
[![test](https://github.com/yudai-nkt/satori-factory/actions/workflows/test.yml/badge.svg)](https://github.com/yudai-nkt/satori-factory/actions/workflows/test.yml)
[![bundle size](https://deno.bundlejs.com/badge?q=satori-factory/jsx-runtime&config=%7B%22compression%22:%22brotli%22%7D)](https://bundlejs.com/?q=satori-factory%2Fjsx-runtime&config=%7B%22compression%22%3A%22brotli%22%7D)

Tiny yet full-fledged JSX factory for [Satori](https://github.com/vercel/satori).

Expand All @@ -19,7 +20,7 @@ const svg = await satori(<div>Hello, Satori Factory!</div>, {

## Features

- ***Featherlight*** &mdash; Satori Factory has zero dependencies and can be minified to less than 0.3kB.
- ***Featherlight*** &mdash; Satori Factory has zero dependencies and can be minified & brotli'd to less than 0.2kB.
- ***Function component*** &mdash; You can define reusable components much like React.
- ***Fine-tuned TypeScript support*** &mdash; Give unsupported CSS properties and you will get warned.

Expand Down

0 comments on commit 8c01037

Please sign in to comment.