|
'use strict'; |
|
|
|
const length = [ |
|
|
|
'cm', 'mm', 'q', 'in', 'pt', 'pc', 'px', |
|
|
|
'em', 'rem', |
|
'ex', 'rex', |
|
'cap', 'rcap', |
|
'ch', 'rch', |
|
'ic', 'ric', |
|
'lh', 'rlh', |
|
|
|
'vw', 'svw', 'lvw', 'dvw', |
|
'vh', 'svh', 'lvh', 'dvh', |
|
'vi', 'svi', 'lvi', 'dvi', |
|
'vb', 'svb', 'lvb', 'dvb', |
|
'vmin', 'svmin', 'lvmin', 'dvmin', |
|
'vmax', 'svmax', 'lvmax', 'dvmax', |
|
|
|
'cqw', 'cqh', 'cqi', 'cqb', 'cqmin', 'cqmax' |
|
]; |
|
const angle = ['deg', 'grad', 'rad', 'turn']; |
|
const time = ['s', 'ms']; |
|
const frequency = ['hz', 'khz']; |
|
const resolution = ['dpi', 'dpcm', 'dppx', 'x']; |
|
const flex = ['fr']; |
|
const decibel = ['db']; |
|
const semitones = ['st']; |
|
|
|
exports.angle = angle; |
|
exports.decibel = decibel; |
|
exports.flex = flex; |
|
exports.frequency = frequency; |
|
exports.length = length; |
|
exports.resolution = resolution; |
|
exports.semitones = semitones; |
|
exports.time = time; |
|
|