Socket
Book a DemoInstallSign in
Socket

@highpoint/java-sass-compiler

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highpoint/java-sass-compiler

Node wrapper around Vaadin's Java sass-compiler

1.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

java-sass-compiler

Node wrapper around Vaadin's Java sass-compiler

Installation

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

Usage

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

OptionValuesDefaultExplanation
compresstrue, falsefalseCreate also a compressed version of the compiled CSS (only when output file is given)
ignoreWarningstrue, falsefalseLet compilation succeed even though there are warnings
inFile pathNoneThe .scss file to compile (required)
minifytrue, falsefalseMinify the compiled CSS with YUI Compressor
outFile pathNoneThe .css file where the generated CSS is stored. If it is not defined, the compiled CSS will be written to standard output.
urlModemixed, absolute, relativemixedSet URL handling mode

Keywords

java

FAQs

Package last updated on 21 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.