New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

compiless

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compiless

Compile LESS files throughout a directory tree

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
7
-41.67%
Maintainers
1
Weekly downloads
 
Created
Source

compiLESS

Build Status NPM version

Compiles LESS files throughout a directory tree and exports them to a specific directory.

Usage

Install the package

$ npm install compiless

Then in some file that is called upon app start (should only be called once):

require("compiless")(__dirname, {
  "./src/less": "./public/css"
});

This will take any LESS files from the src/less directory, compile them, and export them to the public/css directory. So that they can be statically served.

Important notes

  • Found directories will be recursively searched.
  • If a directory does not exist, it will be created.
  • Previous files at a path WILL be overwritten

Running tests

Clone this repo

$ git clone https://github.com/ExPHAT/compiless.git

Install all of the dependencies

$ npm install

Run the tests

$ npm test

Keywords

less

FAQs

Package last updated on 04 Oct 2015

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