# classnames **Repository Path**: mirrors_JedWatson/classnames ## Basic Information - **Project Name**: classnames - **Description**: A simple javascript utility for conditionally joining classNames together - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-02-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Classnames > A simple JavaScript utility for conditionally joining classNames together.

Install from the [npm registry](https://www.npmjs.com/) with your package manager: ```bash npm install classnames ``` Use with [Node.js](https://nodejs.org/en/), [Browserify](https://browserify.org/), or [webpack](https://webpack.github.io/): ```js const classNames = require('classnames'); classNames('foo', 'bar'); // => 'foo bar' ``` Alternatively, you can simply include `index.js` on your page with a standalone `