# @types/svg2ttf

> TypeScript definitions for svg2ttf

Latest version **5.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/svg2ttf
pnpm add @types/svg2ttf
yarn add @types/svg2ttf
bun add @types/svg2ttf
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 5.0.3 |
| Published | 2023-11-07 |
| First published | 2020-06-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/svg2ttf
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2ttf
- npm.io page: https://npm.io/package/@types/svg2ttf

## Recent versions

- 5.0.3 (latest) — 2023-11-07
- 5.0.1 (ts3.6) — 2021-07-02
- 5.0.0 (ts3.0) — 2020-06-04
- 5.0.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/svg2ttf`

# Summary
This package contains type definitions for svg2ttf (https://github.com/fontello/svg2ttf).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2ttf.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2ttf/index.d.ts)
````ts
/** Converts SVG fonts to TTF format */
declare function svg2ttf(svgFontString: string, options?: svg2ttf.FontOptions): svg2ttf.MicroBuffer;

declare namespace svg2ttf {
    interface FontOptions {
        copyright?: string | undefined;
        description?: string | undefined;
        /**
         * Unix timestamp (in seconds) to override creation time
         */
        ts?: number | undefined;
        /**
         * manufacturer url
         */
        url?: string | undefined;
        /**
         * font version string, can be Version x.y or x.y
         * @default 'Version 1.0'
         */
        version?: string | undefined;
    }

    interface MicroBuffer {
        buffer: Uint8Array;
    }
}

export = svg2ttf;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Ewan Morrison](https://github.com/ewan-m).

---
_Source: https://npm.io/package/@types/svg2ttf · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
