# less-touch

> a node script to simplify your less conversion life

Latest version **0.0.1** (published 2012-04-07) · 0 weekly downloads

## Install

```sh
npm install less-touch
pnpm add less-touch
yarn add less-touch
bun add less-touch
```

Provides the command `less-touch`.

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2012-04-07 |
| First published | 2012-04-07 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.4.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | as3 |
| Keywords | less, watcher, less-touch, file monitoring, less file monitoring |

## Links

- npm: https://www.npmjs.com/package/less-touch
- Repository: https://github.com/influx6/less-touch
- npm.io page: https://npm.io/package/less-touch

## Recent versions

- 0.0.1 (latest) — 2012-04-07

## README

#  LESS-TOUCH 	v0.0.1

A simple timer based less file watcher,updates your css files accordingly;


##  Install:  
		 ```npm install less-touch -g ```
			
#   How To:
  
  ##  CommandLine:
	Just create a empty file called build_less or buildless or build-less in 
	your projects root directory with a corresponding json object map like below,
	the keys must be in lowercase as below:
		
		 ```{
			"less" : "./assets/less",
			
			"css" : "./assets/css",
	
			"timeout" : 3000
		}```
		
	Save,navigate to your projects roots and run **"less-touch"** in your terminal!

  ##  As a library: 
   	Simple require the less file after installation with NPM or after copying 
   	the less-touch.js,nodelib.js files  from the "/lib" folder into your project ,require them 
   	into your projects as follows
   	
   	```var fs = require('fs'),
	path = require('path'),
	less = require('less'),
	nodelib = require("./nodelib"),
	less_touch = require("./less-touch").LessTouch(fs,path,less,nodelib);
	
	settings =  {"less" : "path to your less files", 
		"css" : "path to save css files to", 
		"timeout" : "desired time out in milliseconds" 
		};
	
	eg settings = { "less" : "./assets/less",  
		"css" : "./assets/css",
		"timeout" : 3000 };```
	
	Then simple call the init function of the less-touch library.
	```less_touch.init(settings);```

---
_Source: https://npm.io/package/less-touch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
