node-fontforge
A Node.js wrapper for FontForge
Installation
npm install fontforge
Usage
getName(src)
getName() returns the name of the font stored in src
; // Contains 'MyFont'const src = 'MyFont-File.ttf';const name = ; // Oututs: 'MyFont'console;