{"library":"postcss","title":"PostCSS","description":"PostCSS is a CSS post-processor and syntax transformer that uses JavaScript plugins to parse and transform stylesheets. Stable version 8.x, actively maintained with monthly minor/patch releases. Key differentiators: plugin-driven architecture (over 200 plugins), supports future CSS syntax via plugins like postcss-preset-env, used by popular tools like Autoprefixer and Stylelint. Ships TypeScript definitions, supports ESM and CJS, requires Node.js 10+ (12+ for full features). Provides a fast CSS parser with source map support and a rich plugin API.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install postcss"],"cli":{"name":"postcss","version":null}},"imports":["import postcss from 'postcss'","import { Root } from 'postcss/lib/root'","import { Plugin } from 'postcss'","import { Container } from 'postcss'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import postcss from 'postcss';\n\nconst css = `\n  .foo {\n    color: red;\n  }\n`;\n\nconst result = await postcss([\n  require('autoprefixer')({ overrideBrowserslist: ['last 2 versions'] })\n]).process(css, { from: 'test.css' });\n\nconsole.log(result.css);\n// Output includes vendor prefixes if needed","lang":"typescript","description":"Shows basic PostCSS usage with Autoprefixer plugin: parse CSS, apply plugins, get output string.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}