{"library":"classnames","type":"library","category":null,"description":"The `classnames` utility simplifies the conditional joining of CSS class names in JavaScript and TypeScript applications. It accepts any number of arguments, including strings, objects (where keys are class names and values are booleans), and arrays, intelligently combining them into a single, space-separated string. The package is currently at version 2.5.1, following the SemVer standard, indicating a strong commitment to stability and backwards compatibility for minor and patch releases. It is widely adopted, especially within the React ecosystem, due to its robust performance and minimalist API. Its key differentiators include its extreme stability, thorough test suite, and focus on performance, ensuring it reliably handles class name generation in high-frequency scenarios across browsers and Node.js environments. The project's philosophy emphasizes speed and stability, with updates thoroughly reviewed for performance implications.","language":"javascript","status":"active","version":"2.5.1","tags":["javascript","react","css","classes","classname","classnames","util","utility","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install classnames","imports":["import classNames from 'classnames';","const classNames = require('classnames');","if (window.classNames) { /* use window.classNames */ }"]},{"cmd":"yarn add classnames","imports":[]},{"cmd":"pnpm add classnames","imports":[]}],"homepage":"null","github":"https://github.com/JedWatson/classnames","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/classnames","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/classnames/compatibility"}}