# wess

> Invokes the Less compiler in watch mode, triggering a recompilation whenever the dependencies change.

Latest version **0.3.0** (published 2017-03-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install wess
pnpm add wess
yarn add wess
bun add wess
```

Provides the command `wess`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2017-03-22 |
| First published | 2014-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tiago Quelhas |
| Maintainers | tjgq |
| Keywords | css, less, watch, autoprefix |

## Links

- npm: https://www.npmjs.com/package/wess
- Repository: https://github.com/tjgq/wess
- Homepage: https://github.com/tjgq/wess#readme
- Issues: https://github.com/tjgq/wess/issues
- npm.io page: https://npm.io/package/wess

## Dependencies (5)

- [less](https://npm.io/package/less.md) ^2.7.2
- [yargs](https://npm.io/package/yargs.md) ^7.0.2
- [extend](https://npm.io/package/extend.md) ^3.0.0
- [chokidar](https://npm.io/package/chokidar.md) ^1.6.1
- [less-plugin-autoprefix](https://npm.io/package/less-plugin-autoprefix.md) ^1.5.1

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2017-03-22
- 0.2.2 — 2014-12-23
- 0.2.1 — 2014-12-17
- 0.2.0 — 2014-12-17
- 0.1.1 — 2014-12-16
- 0.1.0 — 2014-12-16

## README

# wess

Invokes the [Less](http://www.lesscss.org) compiler in watch mode, triggering a
recompilation whenever the source file or one of its (possibly indirect) import
dependencies changes.

#### wess(path, [options])

Receives the `path` to the source file and `options` to be passed into
`less.render()`.

Returns an EventEmitter that emits the following events:

* `change(path)` - when one of the watched files changes
* `error(err)` - on compilation or watch error
* `compile(output)` - on successful compilation; `output` is as for `less.render()`.

Call `stop()` on the returned object to stop watching.

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