# desandro-classie

> class helper functions

Latest version **1.0.1** (published 2014-10-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install desandro-classie
pnpm add desandro-classie
yarn add desandro-classie
bun add desandro-classie
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2014-10-17 |
| First published | 2014-10-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 856 |
| Author | David DeSandro |
| Maintainers | desandro |
| Keywords | class |

## Links

- npm: https://www.npmjs.com/package/desandro-classie
- Repository: https://github.com/desandro/classie
- Issues: https://github.com/desandro/classie/issues
- npm.io page: https://npm.io/package/desandro-classie

## Recent versions

- 1.0.1 (latest) — 2014-10-17

## README

# Classie - class helper functions

[Ripped from bonzo](https://github.com/ded/bonzo) :heart: @ded

``` js
classie.has( element, 'my-class' ) // returns true/false
classie.add( element, 'my-new-class' ) // add new class
classie.remove( element, 'my-unwanted-class' ) // remove class
classie.toggle( element, 'my-class' ) // toggle class
```

## Package management

Install with [Bower](http://bower.io) :bird: `bower install classie`

Install with npm `npm install desandro-classie`

Install with [Component](http://github.com/component/component) `component install desandro/classie`

## MIT license

classie is released under the [MIT license](http://desandro.mit-license.org).

---
_Source: https://npm.io/package/desandro-classie · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
