FontScript`
API Link: https://fontsapi.pages.dev/public/fontscript.js
The FontScript library is the web version of PostScript and Ghostscript, at least the font-aspects anyways. You can easily customize your text by using FontScript attributes. For full, in-depth detail, please go to the official FontScript website.
Here's example code that uses this API (an almost extensive example...):