svg-text-wrap Install npm install svg-text-wrap Usage import splitText from 'svg-text-wrap' Arguments txt: string, maxWidth: number, fontSize: number, fontFamily: string = 'inherit', returns an array of strings