Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

gulp-fontgen

0.2.5 • Public • Published

gulp-fontgen

NPM version Build Status Coverage Status Dependency Status

gulp-fontgen plugin for gulp

Usage

First, install gulp-fontgen as a development dependency:

npm install --save-dev gulp-fontgen

Then, add it to your gulpfile.js:

var gulp = require('gulp');
var fontgen = require('../gulp-fontgen');
 
gulp.task('fontgen', function() {
  return gulp.src("./src/*.{ttf,otf}")
    .pipe(fontgen({
      dest: "./dest/"
    }));
});
 
gulp.task('default', ['fontgen']);

API

gulpFontgen(options)

options.dest

Type: String (Required)

Destination to write all the font files to

All other options for fontfacegen are passed through.

License

MIT License

install

npm i gulp-fontgen

Downloadsweekly downloads

119

version

0.2.5

license

Apache-2.0

repository

githubgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar