# woff2sfnt-sfnt2woff

> SFNT to WOFF / WOFF to SFNT Converter

Latest version **1.0.0** (published 2018-12-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install woff2sfnt-sfnt2woff
pnpm add woff2sfnt-sfnt2woff
yarn add woff2sfnt-sfnt2woff
bun add woff2sfnt-sfnt2woff
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-12-20 |
| First published | 2018-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 27 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | komino |

## Links

- npm: https://www.npmjs.com/package/woff2sfnt-sfnt2woff
- Repository: https://github.com/digi3colin/woff2sfnt-sfnt2woff
- Homepage: https://github.com/digi3colin/woff2sfnt-sfnt2woff#readme
- Issues: https://github.com/digi3colin/woff2sfnt-sfnt2woff/issues
- npm.io page: https://npm.io/package/woff2sfnt-sfnt2woff

## Dependencies (1)

- [pako](https://npm.io/package/pako.md) ^1.0.7

## Recent versions

- 1.0.0 (latest) — 2018-12-20

## README

SFNT to WOFF / WOFF to SFNT Converter
====================
forked from https://github.com/odemiral/woff2sfnt-sfnt2woff

Node.js font converter capable of converting SFNT ([TrueType](https://en.wikipedia.org/wiki/TrueType), [OpenType](https://en.wikipedia.org/wiki/OpenType)) font files to [WOFF](https://en.wikipedia.org/wiki/Web_Open_Font_Format)


Usage
----------
To convert fonts from **woff2sfnt** invoke the script from the command line:

    woff2sfn.js input.ttf output.woff

To convert fonts from sfnt2woff invoke the script from the command line:

    sfnt2woff.js input.woff output.otf


Dependencies
------------
[pako](https://github.com/nodeca/pako)

License
-----------------
MIT License

TODO
--------
Implement a decoder/encoder for [WOFF2](http://www.w3.org/TR/WOFF2/)

Implement a support for Metadata and Privatedata blocks

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