hyphenate-style-name
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/hyphenate-style-name package

    1.0.4 • Public • Published

    hyphenate-style-name

    npm versionnpmnpm bundle sizeBuild 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.

    Install

    npm i hyphenate-style-name

    DownloadsWeekly Downloads

    3,541,179

    Version

    1.0.4

    License

    BSD-3-Clause

    Unpacked Size

    4.71 kB

    Total Files

    5

    Last publish

    Collaborators

    • rexxars