Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
import * as postcss from "https://deno.land/x/postcss@8.4.16/lib/postcss.d.ts";

Classes

Represents an at-rule.

Represents a comment between declarations or statements (rule and at-rules).

c
Container
abstract

The Root, AtRule, and Rule container nodes inherit some common methods to help work with their children.

The CSS parser throws this error for broken CSS.

Represents a CSS declaration.

Represents a file and contains all its parsed nodes.

Represents the source CSS.

A Promise proxy for the result of PostCSS transformations.

c
Node
abstract

All node classes inherit the following common methods.

Contains plugins to process CSS. Create one Processor instance, initialize its plugins, and then use that instance on numerous CSS files.

Provides the result of the PostCSS transformations.

Represents a CSS file and contains all its parsed nodes.

Represents a CSS rule: a selector followed by a declaration block.

Represents a plugin’s warning. It can be created using Node#warn.