# camelcase-css

> Convert a kebab-cased CSS property into a camelCased DOM property.

Latest version **2.0.1** (published 2018-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install camelcase-css
pnpm add camelcase-css
yarn add camelcase-css
bun add camelcase-css
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2018-08-11 |
| First published | 2015-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/camelcase-css) |
| Module format | CommonJS |
| Node | >= 6 |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Steven Vachon |
| Maintainers | stevenvachon |
| Keywords | camelcase, case, css, dom |

## Links

- npm: https://www.npmjs.com/package/camelcase-css
- Repository: https://github.com/stevenvachon/camelcase-css
- Homepage: https://github.com/stevenvachon/camelcase-css#readme
- Issues: https://github.com/stevenvachon/camelcase-css/issues
- npm.io page: https://npm.io/package/camelcase-css

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 2.0.1 (latest) — 2018-08-11
- 2.0.0 — 2018-04-02
- 1.0.1 — 2016-02-27
- 1.0.0 — 2015-08-28

## README

# camelcase-css [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]

> Convert a kebab-cased CSS property into a camelCased DOM property.


## Installation
[Node.js](http://nodejs.org/) `>= 6` is required. Type this at the command line:
```shell
npm install camelcase-css
```


## Usage
```js
const camelCaseCSS = require('camelcase-css');

camelCaseCSS('-webkit-border-radius');  //-> WebkitBorderRadius
camelCaseCSS('-moz-border-radius');     //-> MozBorderRadius
camelCaseCSS('-ms-border-radius');      //-> msBorderRadius
camelCaseCSS('border-radius');          //-> borderRadius
```


[npm-image]: https://img.shields.io/npm/v/camelcase-css.svg
[npm-url]: https://npmjs.org/package/camelcase-css
[travis-image]: https://img.shields.io/travis/stevenvachon/camelcase-css.svg
[travis-url]: https://travis-ci.org/stevenvachon/camelcase-css

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