Irina Glushko 2389e7160b HW1 done | 3 anni fa | |
---|---|---|
.. | ||
lib | 3 anni fa | |
node_modules | 3 anni fa | |
CHANGELOG.md | 3 anni fa | |
LICENSE | 3 anni fa | |
README.md | 3 anni fa | |
package.json | 3 anni fa |
<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 {}'
})