exless

less middleware for express with caching and auto recompile on each request during development

Exless

Less middleware for Express with caching and auto recompile on each request during development.

Installation

npm install exless --save

Usage

val less = require('exless');
val path = require('path');
var express = require('express');
var app = express();
var development = app.get('env') == 'development';
app.use(less(path.join(__dirname, '/less'), development));