# classnames **Repository Path**: mirrors_developit/classnames ## Basic Information - **Project Name**: classnames - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Classnames =========== [![Version](http://img.shields.io/npm/v/classnames.svg)](https://www.npmjs.org/package/classnames) [![Build Status](https://travis-ci.org/JedWatson/classnames.svg?branch=master)](https://travis-ci.org/JedWatson/classnames) [![Supported by Thinkmill](https://thinkmill.github.io/badge/heart.svg)](http://thinkmill.com.au/?utm_source=github&utm_medium=badge&utm_campaign=classnames) A simple JavaScript utility for conditionally joining classNames together. Install with [npm](https://www.npmjs.com/), [Bower](https://bower.io/), or [Yarn](https://yarnpkg.com/): npm: ```sh npm install classnames ``` Bower: ```sh bower install classnames ``` Yarn (note that `yarn add` automatically saves the package to the `dependencies` in `package.json`): ```sh yarn add classnames ``` Use with [Node.js](https://nodejs.org/en/), [Browserify](http://browserify.org/), or [webpack](https://webpack.github.io/): ```js var classNames = require('classnames'); classNames('foo', 'bar'); // => 'foo bar' ``` Alternatively, you can simply include `index.js` on your page with a standalone `