Gulp Plugin for Fontiran
Download purchased fonts from Fontiran
Install
npm install --save @nekofar/gulp-fontiran
Or add this package to your package.json
file:
{
"dependencies": {
"@nekofar/gulp-fontiran": "^1.0.5"
}
}
Usage
You need to create a .env
file inside the root of your project and add FI_USER
and FI_PASS
keys, populated by your username and password.
var gulp = require('gulp');
var unzip = require('gulp-unzip');
var fontiran = require('gulp-fontiran');
gulp.task('fonts', function () {
return fontiran(['kamva', 'iran'])
.pipe(unzip())
.pipe(gulp.dest('./src/assets/fonts/'));
});
Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a
This README was generated with