You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

lessc-glob

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lessc-glob

A node package that compiles **ALL** *.less* files in a directory and copy the entire structure to another directory.

1.0.9
latest
Source
npmnpm
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

lessc-glob

A node package that compiles ALL .less files in a directory and copy the entire structure to another directory.

This module takes a glob pattern and a target directory.
It will parse ALL .less files in that given pattern to .css syntax,
and will write the CSS files into the specified traget directory while keeping the same structure of directories.

This function does run recursively, that is, it does look inside subdirectories (with the help of glob).

Installation

$ npm install lessc-glob

Usage

Command Line

$ lessc-glob  ‹glob›  ‹target›

Where ‹glob› is the glob pattern eg: ./src/**/*.less. ‹target› is the destination directory for output files eg: lib. If ‹target› does not exist, it will automatically be created. Both directories must be relative to the current path of the command line.

Programmatic

(in your own node module)

Currently not supported.

// maybe in the future...
var lesscGlob = require('lessc-glob')
lesscGlob([glob], [target])

Info

Required

Make sure you pass only .less files in your glob.

Changelog

It’s on Github.

Keywords

less

FAQs

Package last updated on 21 Jun 2017

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