spire-fonts
v1.2.5
Published
woff font metadata and inlining utility
Downloads
1
Readme
spire-fonts
WOFF font metadata and inlining utility
Getting Started
$ npm install --save spire-fonts
Usage
'use strict'
const fonts = require('./index.js')
const tap = require('gulp-tap')
const gulp = require('gulp')
const browserSync = require('browser-sync').create()
gulp.task('fonts', function () {
return gulp.src('test/fonts/*.ttf')
.pipe(fonts({}))
.pipe(tap(function (file) {
console.log(file.metadata)
}))
.pipe(gulp.dest('dist/styles'))
})
License
Copyright (c) 2016 Mark Milstein mailto:[email protected]
spire-fonts is licensed under the MIT License
http://www.opensource.org/licenses/MIT