@types/ttf2woff
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

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

Credits

These definitions were written by Kaspar Vollenweider.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ttf2woff

Weekly Downloads

13,005

Version

2.0.4

License

MIT

Unpacked Size

3.34 kB

Total Files

5

Last publish

Collaborators

  • types