postcss/postcss-scss
postcss/postcss-scss has 673 GitHub stars and 32 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 22:11 UTC. Last push 2026-08-11.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
SCSS parser for PostCSS.
Developer ToolsREADME.md
OriginalPostCSS SCSS Syntax
This module does not compile SCSS. It simply parses mixins as custom at-rules & variables as properties, so that PostCSS plugins can then transform SCSS source code alongside CSS.
Install
npm --save install postcss postcss-scss
Usage
There are two ways to use this parser:
1. SCSS Transformations
The main use case of this plugin is to apply PostCSS transformations directly to SCSS source code.
For example, you can lint SCSS source with Stylelint and linter will automatically fix issues in the source.
// postcss.config.js
module.exports = {
syntax: 'postcss-scss',
plugins: {
…
}
}
2. Inline Comments for PostCSS
Also you can use this parser just to add // single-line comment
to your PostCSS project (without any Sass):
:root {
// Main theme color
--color: red;
}
Note that you don’t need a special stringifier to handle the output; the default one will automatically convert single line comments into block comments.
// postcss.config.js
module.exports = {
parser: 'postcss-scss',
plugins: {
…
}
}
If you want Sass behaviour with removing inline comments, you can use postcss-strip-inline-comments plugin.
Security Contact
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.