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 --save ``` Bower: ```sh bower install classnames --save ``` 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 `