Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
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

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc