Download purchased fonts from Fontiran
npm install --save @nekofar/gulp-fontiran
Or add this package to your package.json
file:
{
"dependencies": {
"@nekofar/gulp-fontiran": "^1.0.5"
}
}
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/'));
});
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator