gulp-ttf2woff
Version:
Create a WOFF font from a TTF one
12 lines (11 loc) • 439 B
TypeScript
import { Transform } from 'node:stream';
export type GulpTTF2WOFFOptions = {
ignoreExt?: boolean;
clone?: boolean;
};
declare function ttf2woffTransform(): (err: Error | null, buf: Buffer, cb: (err: Error | null, buf?: Buffer) => void) => void;
declare function ttf2woffGulp(options?: GulpTTF2WOFFOptions): Transform;
declare namespace ttf2woffGulp {
var fileTransform: typeof ttf2woffTransform;
}
export default ttf2woffGulp;