# ckstyle-less

> Less Plugin for CKStyle

Latest version **0.1.1** (published 2014-09-30) · 0 weekly downloads

## Install

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

## 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.1.1 |
| Published | 2014-09-30 |
| First published | 2014-09-29 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | wangjeaf |
| Maintainers | wangjeaf |
| Keywords | plugin, ckstyle, less |

## Links

- npm: https://www.npmjs.com/package/ckstyle-less
- Repository: https://github.com/ckstyle/ckstyle-less
- Homepage: http://ckstyle.github.io
- Issues: https://github.com/ckstyle/ckstyle-less/issues
- npm.io page: https://npm.io/package/ckstyle-less

## Dependencies (1)

- [less](https://npm.io/package/less.md) *

## Recent versions

- 0.1.1 (latest) — 2014-09-30
- 0.1.0 — 2014-09-29

## README

# ckstyle-autoprefixer

Autoprefixer Plugin for CKStyle

## Usage

`npm install ckstyle-less`

```javascript

var less = require('ckstyle-less')

var css = '.a { .b {width: 1 + 1;} }'


var res = CKStyle.start(css, {
        fileName: 'a.css'
    })
    .plugin(less, {
        a: 1
    })
    .fix(function(res) {
        console.log(res)  // ==> .a .b {
                          // ==>      width: 2;
                          // ==> }
    })
    .compress()
    .output(function(res) {
        console.log(res)  // ==>  .a .b{width:2}
    })

console.log(res)  // ==> .a .b{width:2}

```

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