Classnames =========== [![NPM version](https://badgen.net/npm/v/classnames)](https://www.npmjs.com/package/classnames) ![Node.js CI](https://github.com/JedWatson/classnames/workflows/Node.js%20CI/badge.svg) [![NPM Weekly Downloads](https://badgen.net/npm/dw/classnames)](https://www.npmjs.com/package/classnames) [![License](https://badgen.net/npm/license/classnames)](https://www.npmjs.com/package/classnames) [![Supported by Thinkmill](https://thinkmill.github.io/badge/heart.svg)](https://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/): ```bash # via npm npm install classnames # via Bower bower install classnames # or Yarn (note that it will automatically save the package to your `dependencies` in `package.json`) yarn add classnames ``` Use with [Node.js](https://nodejs.org/en/), [Browserify](https://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 `