Hi @Bibbleq .You need to use the
import { something } from 'somewhere';
at the beginning of the code.
So maybe in your case:
import {convert } from 'html-to-text'
Example: How to extract transcript from Youtube video
Also, this is how you trim a string:
const somestring = "this is a string"; //(your output string variable)
const length = 7;
const trimmedString = somestring.substring(0, length);