2.0.4 • Published 6 months ago

@types/ttf2woff v2.0.4

Weekly downloads
1,317
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for ttf2woff 2.0
// Project: https://github.com/fontello/ttf2woff#readme
// Definitions by: Kaspar Vollenweider <https://github.com/casaper>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <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 Sep 2021 07:31:46 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Kaspar Vollenweider.