Gathering detailed insights and metrics for postcss-scss
Gathering detailed insights and metrics for postcss-scss
Gathering detailed insights and metrics for postcss-scss
Gathering detailed insights and metrics for postcss-scss
postcss-strip-inline-comments
Strip inline comments using the postcss-scss parser
@okta/odyssey-postcss-scss
Postcss scss plugin for Odyssey, Okta's design system
css-declaration-sorter
Sorts CSS declarations fast and automatically in a certain order.
postcss-html
PostCSS syntax for parsing HTML (and HTML-like)
npm install postcss-scss
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
657 Stars
258 Commits
33 Forks
17 Watching
1 Branches
29 Contributors
Updated on 06 Oct 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-3.8%
803,607
Compared to previous day
Last week
0.4%
4,187,350
Compared to previous week
Last month
8.8%
17,712,081
Compared to previous month
Last year
8.8%
193,077,212
Compared to previous year
1
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.
1npm --save install postcss postcss-scss
There are two ways to use this parser:
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.
1// postcss.config.js 2module.exports = { 3 syntax: 'postcss-scss', 4 plugins: { 5 … 6 } 7}
Also you can use this parser just to add //
single-line comment
to your PostCSS project (without any Sass):
1:root { 2 // Main theme color 3 --color: red; 4}
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.
1// postcss.config.js 2module.exports = { 3 parser: 'postcss-scss', 4 plugins: { 5 … 6 } 7}
If you want Sass behaviour with removing inline comments, you can use postcss-strip-inline-comments plugin.
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
Found 4/29 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More