‚̧Needful Program Management
    Have ideas to improve npm?Join in the discussion! ¬Ľ

    camelcase-css
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/camelcase-css package

    2.0.1¬†‚Äʬ†Public¬†‚Äʬ†Published

    camelcase-css NPM Version Build Status

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

    Installation

    Node.js >= 6 is required. Type this at the command line:

    npm install camelcase-css

    Usage

    const camelCaseCSS = require('camelcase-css');
     
    camelCaseCSS('-webkit-border-radius');  //-> WebkitBorderRadius
    camelCaseCSS('-moz-border-radius');     //-> MozBorderRadius
    camelCaseCSS('-ms-border-radius');      //-> msBorderRadius
    camelCaseCSS('border-radius');          //-> borderRadius

    Install

    npm i camelcase-css

    DownloadsWeekly Downloads

    2,326,214

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    4.05 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar