npm.io
2.0.4 • Published 3 years ago

@types/ttf2woff

Licence
MIT
Version
2.0.4
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.5K

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

/// <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 1536 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Kaspar Vollenweider.