Streamingly inject a Typekit kit script into html. This should probably only be done when prototyping, as the script itself is a non-negligable 0.3MB, where your typical font only weighs 0.01MB.
$ npm install inject-typekit-script-stream
const tk =const filed =const http =http
Create a duplex inject stream. Expects a
<body> tag to be present. The
following opts are available:
- kitId: The unique id for your Typekit font kit. You can find this under