# ttfinfo

> Extracts metadata from a ttf file.

Latest version **0.2.0** (published 2013-05-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install ttfinfo
pnpm add ttfinfo
yarn add ttfinfo
bun add ttfinfo
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2013-05-09 |
| First published | 2012-07-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Author | Trevor Dixon |
| Maintainers | trevordixon |
| Keywords | ttf |

## Links

- npm: https://www.npmjs.com/package/ttfinfo
- Repository: https://github.com/trevordixon/ttfinfo
- npm.io page: https://npm.io/package/ttfinfo

## Recent versions

- 0.2.0 (latest) — 2013-05-09
- 0.1.0 — 2012-07-18

## README

# ttfinfo

Extracts metadata from a ttf file. Ported from PHP at http://stackoverflow.com/questions/5668901/php-how-to-read-title-of-font-from-ttf-file.

Use like:

    var ttfInfo = require('ttfinfo');
    ttfInfo('Fonts/Aaargh.ttf', function(err, info) {
         console.log(info);
    });

As an alternative to providing a path to your ttf file, you can pass in a buffer.

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