Irina Glushko 2389e7160b HW1 done | 3 vuotta sitten | |
---|---|---|
.. | ||
lib | 3 vuotta sitten | |
node_modules | 3 vuotta sitten | |
CHANGELOG.md | 3 vuotta sitten | |
LICENSE | 3 vuotta sitten | |
README.md | 3 vuotta sitten | |
package.json | 3 vuotta sitten |
<img align="right" width="135" height="95"
title="Philosopher’s stone, logo of PostCSS"
src="https://postcss.org/logo-leftp.svg">
A fault-tolerant CSS parser for PostCSS, which will find & fix syntax errors, capable of parsing any input. It is useful for:
const safe = require('postcss-safe-parser')
const badCss = 'a {'
postcss(plugins).process(badCss, { parser: safe }).then(result => {
result.css //= 'a {}'
})