gulp-typogr
v1.0.0
Published
Typography utils
Downloads
21
Maintainers
Readme
gulp-typogr
Typography utils using typogr
Issues with the output should be reported on the typogr issue tracker.
Install
$ npm install --save-dev gulp-typogr
Usage
var gulp = require('gulp');
var typogr = require('gulp-typogr');
gulp.task('default', function () {
return gulp.src('src/*.html')
.pipe(typogr())
.pipe(gulp.dest('dist'));
});
API
typogr(options)
options.only
Type: array
Default: {}
By default all the typogr filters are used. Restrict it using the "only" option.
var gulp = require('gulp');
var typogr = require('gulp-typogr');
gulp.task('default', function () {
return gulp.src('src/*.html')
.pipe(typogr({
only: ['widont', 'smartypants']
}))
.pipe(gulp.dest('dist'));
});
License
MIT © Jeddy3