We have hosted the application cnfast in order to run this application in our online workstations with Wine or directly.


Quick description about cnfast:

cnfast is a high-performance JavaScript replacement for the common cn utility used in Tailwind CSS projects. It combines conditional class values and resolves conflicting Tailwind classes while preserving byte-identical output with tailwind-merge. The package exposes cn, clsx, twMerge, and twJoin through a familiar API. Existing clsx, classnames, tailwind-merge, and shadcn/ui projects can migrate with minimal or automated changes. Caching and an optimized merge engine improve performance during repeated renders and component-heavy workloads. It supports standard function calls and tagged templates and is distributed as a compact npm package.

Features:
  • Tailwind class conflict resolution
  • Conditional class value merging
  • Drop-in cn API compatibility
  • Automated project migration command
  • Function and tagged-template syntax
  • Optimized caching and merge performance


Programming Language: TypeScript.
Categories:
Libraries

Page navigation:

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.