FreeDoc

API Link: https://fontsapi.pages.dev/public/freedoc.js

FreeDoc is an easy way to load and use typefaces without writing CSS code. The API has two components, the loader and the applicator. The example shows both. You can use any type of font file, but TTF, WOFF2, or OTF are recommended.

Here's example code that uses this API:

Please note that, at this time, FreeDoc does not have capability to define axes for variable fonts. It's recommended to only use static fonts for now.