talira

Compare

postcss-importLightning CSSAutoprefixerPostCSS
What it isPostCSS plugin that inlines @import rulesAn extremely fast CSS parser, transformer, bundler, and minifierAdds CSS vendor prefixes using Can I Use dataA tool for transforming CSS with JavaScript
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.490.700.660.84
Stars141077322219628972
Last commit2026-11-162026-11-242026-11-222026-11-23
LicenceMITMPL-2.0MITMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins———Yes
MCP server————
CompanyPostCSSParcelAndrey SitnikEvil Martians
Features
  • inlines @import rules
  • resolves imports from node_modules, web_modules and local files
  • imports each file once per scope (skipDuplicates option)
  • custom lookup paths and a filter option
  • parses every CSS rule, property and value as a browser would, on Mozilla's cssparser and selectors crates
  • syntax lowering for nesting, custom media queries, high-gamut colours, logical properties and new selectors by browser targets
  • automatic vendor prefixing and removal of unneeded prefixes
  • minifier that merges shorthands and rules, removes default values, reduces calc() and shortens colours
  • CSS modules with locally scoped classes, ids, keyframes and variables
  • bundle API that inlines @import rules
  • source maps
  • JavaScript (Node) and Rust libraries, a standalone CLI and a WebAssembly build
  • All 10 features
  • adds vendor prefixes from Can I Use data
  • targets the browsers you list (Browserslist)
  • removes outdated prefixes
  • runs as a PostCSS plugin in any build tool
  • CSS parser and stringifier with an AST API for plugins
  • more than 200 plugins, including Autoprefixer, postcss-preset-env, CSS Modules, postcss-nested and Stylelint
  • custom syntaxes for SCSS, Sass, Less, SugarSS, HTML, Markdown and CSS-in-JS
  • postcss-safe-parser finds and fixes CSS syntax errors
  • postcss-cli for the command line and npm scripts
  • integrations for webpack, Parcel, Gulp, Rollup, Grunt, Svelte and more
  • source maps
  • postcss-js applies PostCSS plugins to CSS-in-JS style objects
  • All 9 features
Limitations
    • Doesn't replace every PostCSS plugin: custom plugins may still need PostCSS alongside it
      • Doesn't compile SCSS, Sass or Less to CSS: its SCSS, Sass and Less syntaxes only parse them for other plugins