You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
289 B

#! /usr/bin/env node
var BufferStreams = require('bufferstreams');
var ttf2woff2 = require('../dist');
process.stdin
.pipe(
new BufferStreams(function (err, buf, cb) {
if (err) {
throw err;
}
cb(null, ttf2woff2(buf));
}),
)
.pipe(process.stdout);