0.1.4 • Published 10 years ago

icomoon-style-convert v0.1.4

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

icomoon-style-convert

A Node.js Module to Convert icomoon icon font css styles to LESS file

Eventually will add Stylus and SCSS support

wercker status Coverage Status

Install

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

Example Usage

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

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));
0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago