debug-font
v0.0.1
Published
CLI to get font family from a font file
Downloads
13
Readme
Font Info CLI
A command-line tool to extract font family information from font files.
Features
- Supports various font file formats (TTF, OTF)
- Easy to use command-line interface
- Written in TypeScript for better type safety and developer experience
- Cross-platform compatibility
Prerequisites
Before you begin, ensure you have the following installed:
- Node.js (version 16 or higher)
Global Usage
If you've installed the package globally, you can run it from anywhere:
$ npx -y @tamlam/font-info path/to/your/font.ttf
Example Output
$ npx -y @tamlam/font-info Arial.ttf
Font Family: Arial
Acknowledgments
- opentype.js for font parsing capabilities
- Commander.js for CLI argument parsing