create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
29 lines (18 loc) • 1.08 kB
Markdown
# hyphenate-style-name
[](https://www.npmjs.com/package/hyphenate-style-name)[](https://www.npmjs.com/package/hyphenate-style-name)[](https://bundlephobia.com/result?p=hyphenate-style-name)[](https://travis-ci.org/rexxars/hyphenate-style-name)
Hyphenates a camelcased CSS property name. For example:
- `backgroundColor` => `background-color`
- `MozTransition` => `-moz-transition`
- `msTransition` => `-ms-transition`
- `color` => `color`
# Installation
```bash
$ npm install --save hyphenate-style-name
```
# Usage
```js
var hyphenateStyleName = require('hyphenate-style-name')
console.log(hyphenateStyleName('MozTransition')) // -moz-transition
```
# License
BSD-3-Clause licensed. See LICENSE.