fontforge

0.0.4 • Public • Published

node-fontforge

A Node.js wrapper for FontForge

NPM version Build Status Build Status

Installation

npm install fontforge

Usage

getName(src)

getName() returns the name of the font stored in src

import { getName } from 'fontforge';
 
// Contains 'MyFont'
const src = 'MyFont-File.ttf';
const name = getName(src);
 
// Oututs: 'MyFont'
console.log(name);

License

MIT License

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i fontforge

    Weekly Downloads

    384

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • sgen