1.1.0 • Published 1 year ago

hyphenate-style-name v1.1.0

Weekly downloads
2,811,019
License
BSD-3-Clause
Repository
github
Last release
1 year ago

hyphenate-style-name

npm versionnpmnpm bundle size

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

import hyphenateStyleName from 'hyphenate-style-name'

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

License

BSD-3-Clause licensed. See LICENSE.

jss-plugin-camel-casesunbin-plugin-react-native-stylesheet-to-css-texttaro-plugin-convert-react-native-stylesheet@pauliescanlon/gatsby-remark-grid-sytemreact-portal-popreact-native-web-dcstyle-producer@proc7ts/style-producer@texttree/demo-bsa-reference-rcloliviertassinari-jss-plugin-syntax-camel-casedanmudemoconvert-to-cssreact-native-slider-kf@infinitebrahmanuniverse/nolb-hyph@sparted/react-native-webreact-native-web-temp@everything-registry/sub-chunk-1885t-baberragetarojs-plugin-react-native-stylesheettemporary-vue-baberragetest-r-componenttest-ray-componentsvue-baberragevue-datocmsvue-datocms-sg@calebmer/react-native-web@blueeast/react-native-web@rtsao/inline-style-prefix-alljinwei-baberragejss-camel-casejesh-calculationkeyshondjsx-to-hyperscriptlazuli-cssimagegeneratorlorren@webstudio-is/css-data@wuweiweiwu/react-shopify-draggable@xmark/transform-wrap-headings@xmark/hast-wrap-heading@uiui/release-cli@ui-machines/solid@times-components/jest-serializer@types/hyphenate-style-name@tymate/cra-template-tymate@toughland/kc-utils@voltiso/styler@unstable/instyle@vadzim/react-native-web@yak-spirit/yak-swap-ui@zalastax/nolb-hyphares-core-webaphrodite-to-jss@adalo/react-native-web@cross2d/react-native-node@cross2d/react-native-web@compositive/primitives-dom@alloc/react-responsive@convoy/dapperreact-native-web-artlessstylishlystylishly-utilsstilarvue-play-baberrage@blazinaj/app-kit@brunolemos/react-native-web@carbonhealth3/react-native-web@brandingbrand/flagship-sdkyo-cssypt-partxrn-webweb-publish-uivimo-sketchesunitless-css-propertyuse-media-query3@labiebhn_/react-native-multiplier@laska/react-native-web@pauliescanlon/gatsby-remark-grid-system@pauliescanlon/gatsby-remark-sticky-tableobject-to-cssrn-webrn-web-lxreact-atomic-moleculern-custom-style-sheetrnwcreact-media-responsivereact-native-adarsh_react_native_video_playerreact-native-avinash_jha_test_pluginreact-jstylereact-native-moosa-lib-for-testreact-native-nice-helpersreact-native-stylesheet-to-cssreact-native-test-multiplier-libraryreact-native-web-iereact-native-web-experimentalreact-outlinenove-repositorypropaneqrn-remax-unirquamdolor
1.1.0

1 year ago

1.0.5

1 year ago

1.0.4

5 years ago

1.0.3

7 years ago

1.0.2

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago