PostCSS Font-Variant lets you use font-variant in CSS, following the CSS Fonts specification.
Installation
$ npm install postcss-font-variant
Usage
// dependenciesvar postcss =require("postcss")var fontVariant =require("postcss-font-variant")// css to be processedvar css =fs.readFileSync("input.css","utf8")// process css using postcss-font-variantvar out =postcss().use(fontVariant()).process(css) .css