To calculate the width of text inside SVG / Node JS. Or any scenario where you do not have a browser to render > get the width of a text object.
- Open the index.html file inside a browser.
- Copy the contents from the console into a node js server file
- Use the data to help calculate the font size/s