nekofar / gulp-fontiran

Download purchased fonts from Fontiran

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gulp Plugin for Fontiran

Packages Build Status Codecov Documentation Maintenance License: MIT Twitter: nekofar

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 ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

Download purchased fonts from Fontiran

License:MIT License


Languages

Language:TypeScript 94.9%Language:JavaScript 5.1%