A modern library for read, writing, processing, and exploring fonts in a node or browser environment.
Important but basic info
npm i font_meta
pnpm add font_meta
yarn add font_meta
For Web and Deno, no install is required! Just put this line at the top of your file:
import font_meta from 'https://cdn.skypack.dev/font_meta';
If you want type support with skypack, follow the directions here
<script src="https://unpkg.com/font_meta"></script>
And use it like you would any other package from UNPKG
The basic set of tests are in the test script, the coverage script, and the report script. Just run those using your perferred package manager (npm, yarn, pnpm, etc.) to make sure nothing has broken.
Here's the great part: thanks to microbundle, this package supports CJS, UMD, and ESM formats. That means that wherever and however you use this package — in browser or node, with import or require — you should be set, no configuration required.
put content here
Distributed under the MIT License. See LICENSE
for more information.
Find me @illumincrotty on github or @illumincrotty on twitter
None of these tools fit my needs but they might fit yours! Try one of these:
- OpenType.js
- Samsa
- Typr.js