# less-cli

> Compile multiple less files

Latest version **1.0.0** (published 2015-10-13) · ISC license · 0 weekly downloads

## Install

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

Provides the command `less-cli`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-10-13 |
| First published | 2015-10-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Paul C Pederson |
| Maintainers | paulcpederson |
| Keywords | cs, less |

## Links

- npm: https://www.npmjs.com/package/less-cli
- Repository: https://github.com/paulcpederson/less-cli
- Issues: https://github.com/paulcpederson/less-cli/issues
- npm.io page: https://npm.io/package/less-cli

## Dependencies (5)

- [glob](https://npm.io/package/glob.md) ^5.0.15
- [less](https://npm.io/package/less.md) ^2.5.3
- [yargs](https://npm.io/package/yargs.md) ^3.27.0
- [cli-color](https://npm.io/package/cli-color.md) ^1.1.0
- [async-foreach](https://npm.io/package/async-foreach.md) ^0.1.3

## 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

- 1.0.0 (latest) — 2015-10-13

## README

# less-cli

[![npm][npm-image]][npm-url]
[![travis][travis-image]][travis-url]

[npm-image]: https://img.shields.io/npm/v/less-cli.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/less-cli
[travis-image]: https://img.shields.io/travis/paulcpederson/less-cli.svg?style=flat-square
[travis-url]: https://travis-ci.org/paulcpederson/less-cli

Compile multiple less files

## Install

```
npm install less-cli
```

## Usage

less-cli will compile all of the Less files it encounters (recursively) and compile a css file to the same location, with the same name.

```js
var lessCli = require('less-cli')

lessCli('path/to/directory', function (err, files) {
  console.log(files) // => ['all.css', 'the.css', 'files.css']
})
```

## CLI

Using as a CLI is really easy:

```
less-cli path/to/less/files
```

## Contributing

Contributions welcome! Please read the [contributing guidelines](CONTRIBUTING.md) first.

## License

[ISC](LICENSE.md)

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