Socket
Book a DemoInstallSign in
Socket

compass-compiler

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compass-compiler

compiler for compass

0.0.1
latest
Source
npmnpm
Version published
Weekly downloads
5
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

compass-compiler

A standalone compiler for compass.

  • NOTE the implement of this compiler is mostly modified from the source of grunt-contrib-compass

install

npm install compass-compiler --save

usage


var compass = require( 'compass-compiler' );

compass.compile( options, function( err, result, code ){

    if (code === 127) {
        console.warn(
            'You need to have Ruby and Compass installed ' +
            'and in your system PATH for this task to work. '
        );
    }

    // `compass compile` exits with 1 and outputs "Nothing to compile"
    // on stderr when it has nothing to compile.
    // https://github.com/chriseppstein/compass/issues/993
    if (code === 1 && !/Nothing to compile|Compass can't find any Sass files to compile/g.test(result.stderr)) {
        console.warn('↑');
    }
});

options

See grunt-contrib-compass to get detail about the options.

FAQs

Package last updated on 01 Sep 2014

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.