# @julusian/freetype2

> FreeType bindings for Node.js.

Latest version **1.3.1** (published 2026-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @julusian/freetype2
pnpm add @julusian/freetype2
yarn add @julusian/freetype2
bun add @julusian/freetype2
```

## Health

**Score 65/100 (B)** — status: stable.

Positive: has types; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads; no esm support; large bundle.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2026-02-09 |
| First published | 2020-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=14.15 |
| Dependencies | 2 |
| Unpacked size | 13.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | Julian Waller |
| Maintainers | julusian |
| Keywords | freetype, font, webfont, parse, sfnt, ttf, otf, woff, truetype, opentype |

## Links

- npm: https://www.npmjs.com/package/@julusian/freetype2
- Repository: https://github.com/Julusian/node-freetype2
- Homepage: https://github.com/julusian/node-freetype2
- Issues: https://github.com/julusian/node-freetype2/issues
- npm.io page: https://npm.io/package/@julusian/freetype2

## Dependencies (2)

- [pkg-prebuilds](https://npm.io/package/pkg-prebuilds.md) ^1.0.0
- [node-addon-api](https://npm.io/package/node-addon-api.md) ^6.1.0

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.3.1 (latest) — 2026-02-09
- 1.1.0-0 (next) — 2022-09-28
- 1.2.1 — 2025-03-20
- 1.2.0 — 2024-07-02
- 1.1.2 — 2023-04-21
- 1.1.1 — 2023-02-22
- 1.1.0 — 2022-09-29
- 1.0.0 — 2022-06-06
- 0.6.0 — 2020-12-23
- 0.5.0-1 — 2020-04-21
- 0.5.0-0 — 2020-04-19

## README

# node-freetype2

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/julusian/node-freetype2/node.yaml?branch=main)
[![npm](https://img.shields.io/npm/v/@julusian/freetype2.svg)](https://www.npmjs.com/package/@julusian/freetype2)
[![npm](https://img.shields.io/npm/dm/@julusian/freetype2.svg)](https://www.npmjs.com/package/@julusian/freetype2)
[![npm](https://img.shields.io/npm/l/@julusian/freetype2.svg)](LICENSE)

FreeType bindings for Nodejs. This library is written to be as close to the original api as possible, but in a safer and more node-like manner.

FreeType is a freely available software library to render fonts. http://www.freetype.org/

## Install

`npm install @julusian/freetype2`


## Examples
See the [example folder](https://github.com/julusian/node-freetype2/tree/master/example) to learn how to use node-freetype2.

## API
See the [types](https://github.com/julusian/node-freetype2/blob/master/module.d.ts) to learn the API of node-freetype2 and how they relate to original FreeType.

For more information, see the [original FreeType documentation](http://www.freetype.org/freetype2/docs/reference/ft2-index.html).

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