UNPKG

@types/ttf2woff

Version:
36 lines (27 loc) 1.01 kB
# Installation > `npm install --save @types/ttf2woff` # Summary This package contains type definitions for ttf2woff (https://github.com/fontello/ttf2woff#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ttf2woff. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ttf2woff/index.d.ts) ````ts /// <reference types="node" /> declare function ttf2woff(ttf: Uint8Array, options?: ttf2woff.Options): Buffer; declare namespace ttf2woff { interface Options { /** * Woff Extended Metadata Block * * See https://www.w3.org/TR/WOFF/#Metadata */ metadata?: string | undefined; } } export = ttf2woff; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 15:11:36 GMT * Dependencies: [@types/node](https://npmjs.com/package/@types/node) # Credits These definitions were written by [Kaspar Vollenweider](https://github.com/casaper).