yarn postcss 8.2.0
8.2 “Prince Orobas”

latest releases: 8.5.6, 8.5.5, 8.5.4...
4 years ago

Prince Orobas seal

PostCSS 8.2 added a new API to serialize and deserialize CSS AST to JSON.

import { parse, fromJSON } from 'postcss'

let root = parse('a{}', { from: 'input.css' })
let json = root.toJSON()
// save to file, send by network, etc
let root2 = fromJSON(json)

Thanks to @mischnic for his work.

Don't miss a new postcss release

NewReleases is sending notifications on new releases.