
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
node-compass
Advanced tools
Compass middleware for node.js & express.
node-compass requires the compass ruby gem in order to compile compass.
This can easily be installed via Terminal.
$ gem update --system
$ gem install compass
You'll want to do that as a root user.
npm install node-compass
The easiest way to use node-compass, is through express.js.
var compass = require('node-compass');
app.configure(function() {
app.use(compass());
});
node-compass is highly configurable.
By default, node-compass expects your assets folder to be named public, and for
both your *.scss and *.css files to be in '/public/stylesheets/'. This can be changed
by passing an array of options to the middleware. To change the root assets folder, pass
an array with project in it.
For example, to change it to assets:
compass({
project: path.join(__dirname, 'assets')
});
default: compress
description: The output mode you wish to use. Can be expanded, nested, compressed or compact.
default: false
description: Show line comments or not.
default: true
description: Are assets relative.
default: stylesheets
description: The folder inside the project to output css into.
default: stylesheets
description: The folder inside the project to find sass in.
default: public
description: The location where all your assets are store.
default: true
description: enable/disable caching.
default: false
description: Enable/disables logging to terminal when attempting to compile sass files.
default: false
description: Use this config option to point to a valid compass config.rb file, if you would prefer to use that for your config instead.
FAQs
compass middleware
We found that node-compass demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.