{"id":13527066,"url":"https://github.com/postcss/postcss-scss","last_synced_at":"2025-05-14T08:05:59.181Z","repository":{"id":36133230,"uuid":"40436762","full_name":"postcss/postcss-scss","owner":"postcss","description":"SCSS parser for PostCSS.","archived":false,"fork":false,"pushed_at":"2024-07-18T14:18:09.000Z","size":1258,"stargazers_count":662,"open_issues_count":2,"forks_count":34,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-04-29T14:24:24.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/postcss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"postcss","tidelift":"npm/postcss-scss","github":"ai"}},"created_at":"2015-08-09T13:12:10.000Z","updated_at":"2025-03-15T20:58:02.000Z","dependencies_parsed_at":"2024-04-12T08:59:20.410Z","dependency_job_id":"92501743-98f0-43a1-bf68-d61c63e4edfd","html_url":"https://github.com/postcss/postcss-scss","commit_stats":{"total_commits":245,"total_committers":18,"mean_commits":13.61111111111111,"dds":"0.13469387755102036","last_synced_commit":"66f77c3b2b0214141d75bc8889dffaaded6610ad"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fpostcss-scss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fpostcss-scss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fpostcss-scss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fpostcss-scss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postcss","download_url":"https://codeload.github.com/postcss/postcss-scss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252270163,"owners_count":21721419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:01:40.253Z","updated_at":"2025-05-14T08:05:59.149Z","avatar_url":"https://github.com/postcss.png","language":"JavaScript","readme":"# PostCSS SCSS Syntax\n\n\u003cimg align=\"right\" width=\"95\" height=\"95\"\n     title=\"Philosopher’s stone, logo of PostCSS\"\n     src=\"http://postcss.github.io/postcss/logo.svg\"\u003e\n\nA [SCSS] parser for [PostCSS].\n\n**This module does not compile SCSS.** It simply parses mixins as custom\nat-rules \u0026 variables as properties, so that PostCSS plugins can then transform\nSCSS source code alongside CSS.\n\n[PostCSS]: https://github.com/postcss/postcss\n[SCSS]:    http://sass-lang.com/\n\n\u003ca href=\"https://evilmartians.com/?utm_source=postcss\"\u003e\n  \u003cimg src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\"\n    alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\"\u003e\n\u003c/a\u003e\n\n\n## Install\n\n```sh\nnpm --save install postcss postcss-scss\n```\n\n\n## Usage\n\nThere are two ways to use this parser:\n\n### 1. SCSS Transformations\n\nThe main use case of this plugin is to apply PostCSS transformations directly\nto SCSS source code.\n\nFor example, you can lint SCSS source with [Stylelint]\nand linter will automatically fix issues in the source.\n\n```js\n// postcss.config.js\nmodule.exports = {\n  syntax: 'postcss-scss',\n  plugins: {\n    …\n  }\n}\n```\n\n[Stylelint]:    http://stylelint.io/\n\n\n### 2. Inline Comments for PostCSS\n\nAlso you can use this parser just to add `//` single-line comment\nto your PostCSS project (without any Sass):\n\n```scss\n:root {\n    // Main theme color\n    --color: red;\n}\n```\n\nNote that you don’t need a special stringifier to handle the output; the default\none will automatically convert single line comments into block comments.\n\n```js\n// postcss.config.js\nmodule.exports = {\n  parser: 'postcss-scss',\n  plugins: {\n    …\n  }\n}\n```\n\nIf you want Sass behaviour with removing inline comments, you can use\n[postcss-strip-inline-comments] plugin.\n\n[postcss-strip-inline-comments]: https://github.com/mummybot/postcss-strip-inline-comments\n\n\n## Security Contact\n\nTo report a security vulnerability, please use the [Tidelift security contact].\nTidelift will coordinate the fix and disclosure.\n\n[Tidelift security contact]: https://tidelift.com/security\n","funding_links":["https://opencollective.com/postcss","https://tidelift.com/funding/github/npm/postcss-scss","https://github.com/sponsors/ai","https://tidelift.com/security"],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostcss%2Fpostcss-scss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostcss%2Fpostcss-scss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostcss%2Fpostcss-scss/lists"}