Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including node-sass with all npm packages installed. Try it out:

var nodeSass = require("node-sass")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-sass v0.2.3

wrapper around libsass


Node-sass is a library that provides binding for Node.js to libsass, the C version of the popular stylesheet preprocessor, Sass.

It allows you to natively compile .scss files to css at incredible speed and automatically via a connect middleware.

Find it on npm:


npm install


var sass = require('node-sass');
sass.render('body{background:blue; a{color:black;}}', function(err, css){

Connect/Express middleware

Recompile .scss files automatically for connect and express based http servers

var server = connect.createServer(
      src: __dirname
    , dest: __dirname + '/public'
    , debug: true
  connect.static(__dirname + '/public')

Heavily inspired by


  • sass compression options
  • publish npm
  • file context?
  • folder context?
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free