klsx 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -20,15 +20,13 @@ klsx({ foo: 'string', bar: true, bux: null }, 'baz') // => "foo bar baz"
20
20
  - 🎯 Same of full featured [clsx](https://www.npmjs.com/package/clsx), just change a `c` with `k` and you've done!
21
21
  - 👑 ES Module syntax, written in TypeScript and tested on [Bun](https://bun.com)
22
22
  - 💎 Zero dependencies, less than 200 bytes (Brotli)
23
- - 🐳 Provided with [real-world usage benchmark and memory footprint analysis](https://github.com/vuolter/klsx/blob/main/BENCHMARK.md)
23
+ - 📈 Provided with [real-world usage benchmark and memory footprint analysis](https://github.com/vuolter/klsx/blob/main/BENCHMARK.md)
24
24
 
25
25
  ## Benchmark
26
26
 
27
27
  Throughput (ops/s, higher is better) from the latest run:
28
28
 
29
- ###### Bars are scaled to the fastest package in each test
30
-
31
- ![Throughput benchmark: 𝒌𝒍𝒔𝒙 vs clsx, classnames and classix](benchmark.svg)
29
+ ![Throughput benchmark: 𝒌𝒍𝒔𝒙 vs clsx, classnames and classix](assets/benchmark.svg)
32
30
 
33
31
  Full results: [BENCHMARK.md](BENCHMARK.md).
34
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "klsx",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "The fastest classname constructor out there, drop-in replacement for clsx",
5
5
  "keywords": [
6
6
  "bun",
@@ -51,9 +51,9 @@
51
51
  "clsx": "2.1.1",
52
52
  "oxfmt": "0.76.0",
53
53
  "oxlint": "1.91.0",
54
- "oxlint-tsgolint": "7.0.2005",
54
+ "oxlint-tsgolint": "7.0.2006",
55
55
  "tinybench": "6.2.3",
56
- "tsdown": "0.23.4",
56
+ "tsdown": "0.23.5",
57
57
  "typescript": "7.0.2"
58
58
  },
59
59
  "engines": {