From 706433bec16ae12331de75fbcfceb233db944bda Mon Sep 17 00:00:00 2001 From: Alex Nault Date: Thu, 28 Jul 2022 20:10:28 -0400 Subject: [PATCH] docs: Add badges to readme (#17) --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ba7ab3d..f053afa 100644 --- a/README.md +++ b/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 @@ -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 // 🚫