# classies

[![Build Status](https://travis-ci.org/StephanHoyer/classies.svg?branch=master)](https://travis-ci.org/StephanHoyer/classies)
[![Greenkeeper badge](https://badges.greenkeeper.io/StephanHoyer/classies.svg)](https://greenkeeper.io/)
![](http://img.badgesize.io/StephanHoyer/classies/master/index.js.svg?compression=gzip)


Simple css class string builder without shenanigans.

## install

```
npm install classies
```

## usage

```js
const cls = require('classies')
const isSelected = true

let classString = cls({
  foo: true,
  bar: someCondition,
  [classString]: true,
  isSelected,
}, separator) // separator defaults to ' '
```

## perfomance

see [jsperf](https://jsperf.com/cls/1)

Latest version was done by [@isiahmeadows](https://github.com/isiahmeadows) and [@gamb](https://github.com/gamb).

If you have a better version, feel free to submit a PR.

# classies

[![Build Status](https://travis-ci.org/StephanHoyer/classies.svg?branch=master)](https://travis-ci.org/StephanHoyer/classies)
[![Greenkeeper badge](https://badges.greenkeeper.io/StephanHoyer/classies.svg)](https://greenkeeper.io/)
![](http://img.badgesize.io/StephanHoyer/classies/master/index.js.svg?compression=gzip)


Simple css class string builder without shenanigans.

## install

```
npm install classies
```

## usage

```js
const cls = require('classies')
const isSelected = true

let classString = cls({
  foo: true,
  bar: someCondition,
  [classString]: true,
  isSelected,
}, separator) // separator defaults to ' '
```

## perfomance

see [jsperf](https://jsperf.com/cls/1)

Latest version was done by [@isiahmeadows](https://github.com/isiahmeadows) and [@gamb](https://github.com/gamb).

If you have a better version, feel free to submit a PR.


## releases

Releases are automated by [pr-release](http://pr-release.org/)
Add a note documenting pr-release is used for releases
Add a note documenting pr-release is used for releases

Actually doing this to trigger a release PR which
requires a feature PR merged into next.
