1.2.5 • Published 8 years ago

spire-fonts v1.2.5

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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 mark@epiloque.com

spire-fonts is licensed under the MIT License

http://www.opensource.org/licenses/MIT
1.2.5

8 years ago

1.1.2

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago