Socket
Book a DemoInstallSign in
Socket

connect-less-jolira

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-less-jolira

Yet another connect handler implementation for less

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

Yet Another connect-less Build Status

The other existing less handlers for connect.js did not quite work for the site-manager. We needed a bit more flexibility than the other implementations had.

This version supports passing multiple directories, which are all searched for less files. The less files are compiled when requested the first time, unless debugging is enabled.

Installation

npm install connect-less-jolira

Example

Search for .less files in /var/www and /home/fido/www:

var connect = require("connect"),
    less = require("connect-less-jolira"),
    app = connect.createServer();
app.use(less(["/var/www", "/home/fido/www"]));

Any file with extenstion .less will be compiled on-demand and returned as ``text/css`. E.g.

'''

'''

Logs

Logs can be turned on using:

export NODE_DEBUG="connect-less"

Keywords

less

FAQs

Package last updated on 28 Jun 2012

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.