UNPKG

@wix/css-property-parser

Version:

A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance

10 lines (9 loc) 302 B
import { FontWeightValue } from '../types'; /** * Parse a CSS font-weight property string */ export declare function parse(value: string): FontWeightValue | null; /** * Convert FontWeightValue back to CSS string */ export declare function toCSSValue(parsed: FontWeightValue | null): string | null;