@f/css-unitless

    1.0.2 • Public • Published

    css-unitless

    Build status Git tag NPM version Code style

    List of unitless css properties

    Installation

    $ npm install @f/css-unitless
    

    Usage

    var unitless = require('@f/css-unitless')
     
    function defaultUnits (key, value) {
      if (!unitless[key] && isNumber(value)) {
        return value + 'px'
      }
     
      return value
    }

    License

    MIT

    Keywords

    none

    Install

    npm i @f/css-unitless

    DownloadsWeekly Downloads

    22

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • f