# @highpoint/java-sass-compiler

> Node wrapper around Vaadin's Java sass-compiler

Latest version **1.0.1** (published 2018-08-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @highpoint/java-sass-compiler
pnpm add @highpoint/java-sass-compiler
yarn add @highpoint/java-sass-compiler
bun add @highpoint/java-sass-compiler
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-08-21 |
| First published | 2018-08-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | HighPoint |
| Maintainers | jkrehm |
| Keywords | java, sass, scss |

## Links

- npm: https://www.npmjs.com/package/@highpoint/java-sass-compiler
- Repository: https://github.com/hp-mobile/node-java-sass-compiler
- Homepage: https://github.com/hp-mobile/node-java-sass-compiler#readme
- Issues: https://github.com/hp-mobile/node-java-sass-compiler/issues
- npm.io page: https://npm.io/package/@highpoint/java-sass-compiler

## Recent versions

- 1.0.1 (latest) — 2018-08-21
- 1.0.0 — 2018-08-21

## README

# java-sass-compiler #

Node wrapper around [Vaadin's Java sass-compiler](https://github.com/vaadin/sass-compiler)

## Installation ##

`npm install hp-mobile/node-java-sass-compiler`

## Usage ##

```javascript
const javaSassCompiler = require('java-sass-compiler');

javaSassCompiler({
  in: 'file.scss',
  out: 'file.css',
  minify: true
}, (err, stdout, stderr) => {
  if (err) {
    console.error(`Compile error: ${err}`);
  }

  console.log(`stdout ${stdout}`);
  console.log(`stderr ${stderr}`);
});
```

## Options ##

| Option         | Values                    | Default | Explanation                                                                                                                 |
|----------------|---------------------------|---------|-----------------------------------------------------------------------------------------------------------------------------|
| compress       | true, false               | false   | Create also a compressed version of the compiled CSS (only when output file is given)                                       |
| ignoreWarnings | true, false               | false   | Let compilation succeed even though there are warnings                                                                      |
| in             | File path                 | None    | The .scss file to compile (**required**)                                                                                    |
| minify         | true, false               | false   | Minify the compiled CSS with YUI Compressor                                                                                 |
| out            | File path                 | None    | The .css file where the generated CSS is stored. If it is not defined, the compiled CSS will be written to standard output. |
| urlMode        | mixed, absolute, relative | mixed   | Set URL handling mode                                                                                                       |

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