# icomoon-style-convert

> Convert Icomoon CSS to Less/Stylus

Latest version **0.1.4** (published 2014-11-04) · 0 weekly downloads

## Install

```sh
npm install icomoon-style-convert
pnpm add icomoon-style-convert
yarn add icomoon-style-convert
bun add icomoon-style-convert
```

## 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.1.4 |
| Published | 2014-11-04 |
| First published | 2014-10-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+6 in 2 direct dependencies) |
| Install scripts | no |
| Author | Steven Weathers |
| Maintainers | stevenweathers |

## Links

- npm: https://www.npmjs.com/package/icomoon-style-convert
- Repository: https://github.com/StevenWeathers/icomoon-style-convert
- Issues: https://github.com/StevenWeathers/icomoon-style-convert/issues
- npm.io page: https://npm.io/package/icomoon-style-convert

## Dependencies (2)

- [swig](https://npm.io/package/swig.md) ^1.4.2
- [lodash](https://npm.io/package/lodash.md) ~2.4.1

## Recent versions

- 0.1.4 (latest) — 2014-11-04
- 0.1.3 — 2014-10-31
- 0.1.2 — 2014-10-31
- 0.1.1 — 2014-10-31
- 0.1.0 — 2014-10-31
- 0.0.4 — 2014-10-31
- 0.0.3 — 2014-10-31
- 0.0.2 — 2014-10-31
- 0.0.1 — 2014-10-31

## README

icomoon-style-convert
=====================

A Node.js Module to Convert [icomoon](https://icomoon.io/) icon font css styles to LESS file

Eventually will add Stylus and SCSS support

[![wercker status](https://app.wercker.com/status/bad55a5bf1bc385319d8b3cf109e29a7/m/master "wercker status")](https://app.wercker.com/project/bykey/bad55a5bf1bc385319d8b3cf109e29a7)
[![Coverage Status](https://img.shields.io/coveralls/StevenWeathers/icomoon-style-convert.svg)](https://coveralls.io/r/StevenWeathers/icomoon-style-convert)

### Install

```
npm install --save-dev icomoon-style-convert
```


### Example Usage

```js
var icomoonconvert = require("icomoon-style-convert");
var fs = require('fs');
var css = fs.readFileSync("style.css","utf-8");

fs.writeFileSync('style.less', icomoonconvert.less(css));
```

### Example Usage with Prefix Option

```js
var icomoonconvert = require("icomoon-style-convert");
var fs = require('fs');
var css = fs.readFileSync("style.css","utf-8");

var options = {
	classPrefix: "sw-"
};

fs.writeFileSync('style.less', icomoonconvert.less(css,options));
```

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