Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ttf2woff with all npm packages installed. Try it out:

var ttf2woff = require("ttf2woff")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ttf2woff v2.0.1

Convert TTF font to WOFF


ttf2woff converts TTF fonts to WOFF format. That can be useful for different webfont generation tools.

This is node.js partial port of original woff CLI tools



npm install -g ttf2woff

Usage example:

ttf2woff fontello.ttf fontello.woff



Copyright (c) 2013 Vitaly Puzrin. Released under the MIT license. See LICENSE for details.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free