1.4.5 • Published 2 years ago
fontellizr v1.4.5
fontellizr
Module to generate fontello webfont from svg set
Install
$ npm i fontellizr
This module targets Node.js 8 or later. If you want support for older browsers use Babel compiler.
Usage
JavaScript API
var fontellizr = require('fontellizr');
fontellizr({
svgsSourceDir: './source/svgs',
fontsDestDir: './assets/fonts/fontello',
stylesDestDir: './assets/styles/vendor',
fontelloConfig: {
ascent: 850,
units_per_em: 1000,
hinting: true,
css_use_suffix: false,
css_prefix_text: 'icon-',
name: 'fontello'
}
});
Cli tool
Create .fontellizrrc file in project directory
{
"svgsSourceDir": "./svgs",
"fontsDestDir": "./fonts",
"stylesDestDir": "./styles",
"fontelloConfig": {
"ascent": 850,
"units_per_em": 1000,
"hinting": true,
"css_use_suffix": false,
"css_prefix_text": "icon-",
"name": "test"
}
}
Run fontellizr
$ npx fontellizr
License
MIT © Ablay Keldibek
1.4.5
2 years ago
1.4.4
6 years ago
1.4.3
6 years ago
1.4.2
6 years ago
1.4.1
6 years ago
1.4.0
6 years ago
1.3.0
6 years ago
1.1.0
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.2.0
7 years ago
0.1.2
7 years ago
0.1.1
9 years ago
0.1.0
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago
0.0.0
9 years ago