Skip to content

Commit

Permalink
docs: Add badges to readme (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnault committed Jul 29, 2022
1 parent 612de5f commit 706433b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
@@ -1,5 +1,9 @@
# classix

![Build](https://img.shields.io/github/workflow/status/alexnault/classix/ci-and-publish?style=flat-square)
![NPM version](https://img.shields.io/npm/v/classix?style=flat-square)
![Size](https://img.shields.io/bundlephobia/minzip/classix?&style=flat-square)

The [fastest](#comparison) and [tiniest](#comparison) utility for conditionally joining classNames.

## Installation
Expand Down Expand Up @@ -56,7 +60,7 @@ Sources: [classix](https://bundlephobia.com/package/classix), [clsx](https://bun

Sources: Ran [benchmark](benchmark/) on an AMD Ryzen 5 5600x.

Compared to other librairies, classix simplifies its API by forbidding object arguments, which it considers less ergonomic than string expressions:
Compared to other libraries, classix simplifies its API by omitting the use of object arguments, which it considers less ergonomic than string expressions:

```js
// 🚫
Expand Down

0 comments on commit 706433b

Please sign in to comment.