Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

css-value-type

morishitter9MIT0.1.0

get types of CSS properties

css, type, property, value

readme

css-value-type Build Status

get types of CSS properties

Installation

$ npm install css-value-type

Usage

var getType = require('css-value-type')

getType('10vh') // 'length'
getType('rgb(255, 0, 0)') // 'color'

License

The MIT License (MIT)

Copyright (c) 2015 Masaaki Morishita

changelog

v0.1.0

Initial release.