# postcss-sass

> A Sass parser for PostCSS, using gonzales-pe.

Latest version **0.5.0** (published 2021-05-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install postcss-sass
pnpm add postcss-sass
yarn add postcss-sass
bun add postcss-sass
```

## Health

**Score 23/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2021-05-08 |
| First published | 2017-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/postcss-sass) |
| Module format | CommonJS |
| Node | ^10 \|\| ^12 \|\| >=14 |
| Dependencies | 2 |
| Unpacked size | 23.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 92 |
| Author | Oleh Aloshkin |
| Maintainers | ai, gucong, sdwvit, aleshaoleg |
| Keywords | postcss, css, postcss-plugin, postcss-sass, sass |

## Links

- npm: https://www.npmjs.com/package/postcss-sass
- Repository: https://github.com/AleshaOleg/postcss-sass
- Issues: https://github.com/AleshaOleg/postcss-sass/issues
- npm.io page: https://npm.io/package/postcss-sass

## Dependencies (2)

- [postcss](https://npm.io/package/postcss.md) ^8.2.14
- [gonzales-pe](https://npm.io/package/gonzales-pe.md) ^4.3.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.5.0 (latest) — 2021-05-08
- 0.4.4 — 2020-04-04
- 0.4.3 — 2020-04-04
- 0.4.2 — 2019-11-11
- 0.4.1 — 2019-07-07
- 0.4.0 — 2019-07-07
- 0.3.5 — 2018-11-01
- 0.3.4 — 2018-11-01
- 0.3.3 — 2018-09-01
- 0.3.2 — 2018-05-21
- 0.3.1 — 2018-04-29
- 0.3.0 — 2018-01-19
- 0.2.0 — 2017-07-08
- 0.1.0 — 2017-04-09

## README

# postcss-sass

[![Build Status](https://travis-ci.org/AleshaOleg/postcss-sass.svg?branch=master)](https://travis-ci.org/AleshaOleg/postcss-sass) [![Coverage Status](https://coveralls.io/repos/github/AleshaOleg/postcss-sass/badge.svg)](https://coveralls.io/github/AleshaOleg/postcss-sass) [![Greenkeeper badge](https://badges.greenkeeper.io/AleshaOleg/postcss-sass.svg)](https://greenkeeper.io/) [![Cult Of Martians](http://cultofmartians.com/assets/badges/badge.svg)](http://cultofmartians.com/tasks/postcss-sass.html)

A [Sass](http://sass-lang.com/) parser for [PostCSS](https://github.com/postcss/postcss), using [gonzales-pe](https://github.com/tonyganch/gonzales-pe).

**Not all Sass syntax supported. Parser under development.**

**This module does not compile Sass.** It simply parses mixins as custom at-rules & variables as properties, so that PostCSS plugins can then transform Sass source code alongside CSS.

## Install
`npm i postcss-sass --save`

## Usage
```js
var postcssSass = require("postcss-sass");

postcss(plugins).process(sass, { syntax: postcssSass }).then(function (result) {
    result.content // Sass with transformations
});
```

---
_Source: https://npm.io/package/postcss-sass · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
