parse-css-font
Advanced tools
Changelog
4.0.0
variant
can have more than one value. Parsing the variant
is too complex for this function, so any unknown tokens are assumed to be a variant
and joined as one (e.g., foo bold bar italic qux
parses a variant
of foo bar qux
).normal
overriding other declarations. The defaults are still normal
and you can have any number of normals precede the size
without overriding non-normal
values.style
, weight
or stretch
.Changelog
3.0.3
const parseCSSFont = require('parse-css-font');
.Changelog
3.0.0