選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit 3年前
..
.nyc_output First Commit 3年前
.prettierrc First Commit 3年前
LICENSE First Commit 3年前
README.md First Commit 3年前
index.cjs.js First Commit 3年前
index.js First Commit 3年前
package.json First Commit 3年前
yarn.lock First Commit 3年前

README.md

hyphenate-style-name

npm versionBuild Status

Hyphenates a camelcased CSS property name. For example:

  • backgroundColor => background-color
  • MozTransition => -moz-transition
  • msTransition => -ms-transition
  • color => color

Installation

$ npm install --save hyphenate-style-name

Usage

var hyphenateStyleName = require('hyphenate-style-name')

console.log(hyphenateStyleName('MozTransition')) // -moz-transition

License

BSD-3-Clause licensed. See LICENSE.