{"_id":"@braunse/cx","_rev":"2-ecc92f44706954a83469fdc78b6a1558","name":"@braunse/cx","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@braunse/cx","version":"0.0.1","license":"MIT","_id":"@braunse/cx@0.0.1","maintainers":[{"name":"braunse","email":"sebastien@sebbraun.de"}],"dist":{"shasum":"4766afe2b63c4f89f7b9f337d9c53b37b65c2029","tarball":"https://registry.npmjs.org/@braunse/cx/-/cx-0.0.1.tgz","fileCount":9,"integrity":"sha512-xNrJk0yO0IWwly9G9hShRxXSr7DByuCHm31Bzsb67uRicZrOiJGU4RRoWWxmtl7Ha5GY7xgVKVuWXTfHHxTo7w==","signatures":[{"sig":"MEYCIQDezIMSi5whZTfNQD+TCw3cc/RnaOpwD08V1cdyPKrCBwIhAN30xe/vDjgMzCm7wfGa9/3YydHXYFde9QQt8zZL8yIL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36977},"main":"./src/cx.js","type":"module","_from":"file:braunse-cx-0.0.1.tgz","types":"./src/cx.d.ts","exports":{".":{"types":"./src/cx.d.ts","import":"./src/cx.js","default":"./src/cx.js"},"./preset":{"types":"./src/preset.d.ts","import":"./src/preset.js","default":"./src/preset.js"}},"_npmUser":{"name":"braunse","email":"sebastien@sebbraun.de"},"_resolved":"/home/seb/dev/synced/unocss-typed-cx/braunse-cx-0.0.1.tgz","_integrity":"sha512-xNrJk0yO0IWwly9G9hShRxXSr7DByuCHm31Bzsb67uRicZrOiJGU4RRoWWxmtl7Ha5GY7xgVKVuWXTfHHxTo7w==","_npmVersion":"11.19.0","description":"This package is a small utility to compose CSS class name strings. It is very similar to utilities such as [clsx] and [classnames].","directories":{},"_nodeVersion":"26.7.0","dependencies":{"es-toolkit":"^1.51.0","@typescript-eslint/typescript-estree":"^8.67.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cx_0.0.1_1787328823114_0.22188064722580658","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"_id":"@braunse/cx@0.0.2","dist":{"shasum":"617eb4a3cd55cae5bfab383550784357e94ecf87","tarball":"https://registry.npmjs.org/@braunse/cx/-/cx-0.0.2.tgz","integrity":"sha512-A+iQ+zucsmFRKmXqdyj/vYthWfOGAdEGUUY3QNFSInmobHq8ixsedZEf0aHz8VUR0cynCPCI78YvorqPtc50mQ==","fileCount":9,"unpackedSize":36977,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC0iA2qdrp7fATfi9xype9wkacFGzOA1e0BQilepsXJnwIgVNqcOfvOqzbRnYdWSC/GCTGSh2pQUIjhg/MvkHCxpe8="}]},"main":"./src/cx.js","name":"@braunse/cx","type":"module","_from":"file:braunse-cx-0.0.2.tgz","types":"./src/cx.d.ts","exports":{".":{"types":"./src/cx.d.ts","import":"./src/cx.js","default":"./src/cx.js"},"./preset":{"types":"./src/preset.d.ts","import":"./src/preset.js","default":"./src/preset.js"}},"license":"MIT","version":"0.0.2","_npmUser":{"name":"braunse","email":"sebastien@sebbraun.de","approver":{"name":"braunse","email":"sebastien@sebbraun.de"}},"_resolved":"/home/seb/dev/synced/unocss-typed-cx/braunse-cx-0.0.2.tgz","_integrity":"sha512-A+iQ+zucsmFRKmXqdyj/vYthWfOGAdEGUUY3QNFSInmobHq8ixsedZEf0aHz8VUR0cynCPCI78YvorqPtc50mQ==","_npmVersion":"11.19.0","description":"This package is a small utility to compose CSS class name strings. It is very similar to utilities such as [clsx] and [classnames].","directories":{},"maintainers":[{"name":"braunse","email":"sebastien@sebbraun.de"}],"_nodeVersion":"26.7.0","dependencies":{"es-toolkit":"^1.50.0","@typescript-eslint/typescript-estree":"^8.67.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cx_0.0.2_1787329959284_0.04976831624702882"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-21T16:13:42.239Z","modified":"2026-08-21T16:32:39.525Z","0.0.1":"2026-08-21T16:13:43.260Z","0.0.2":"2026-08-21T16:32:39.411Z"},"license":"MIT","description":"This package is a small utility to compose CSS class name strings. It is very similar to utilities such as [clsx] and [classnames].","maintainers":[{"name":"braunse","email":"sebastien@sebbraun.de"}],"readme":"# `cx` - A class name utility for UnoCSS\n\nThis package is a small utility to compose CSS class name strings.\nIt is very similar to utilities such as [clsx] and [classnames].\n\nThe key difference is that this package also offers a [UnoCSS] preset\nthat extends UnoCSS's autocompletion, which is usually limited to JSX attributes\nwith specific names, to user-configurable function calls and tagged templates.\n\nThe `cx` function exported by this package provides a default implementation\nof such a function and template tag.\n\n[clsx]: https://github.com/lukeed/clsx\n[classnames]: https://github.com/jedWatsen/classnames\n","readmeFilename":"README.md"}