I want to use the below npm package 'wordwrapjs' in a lwc Salesforce component but lwc does not support the out of the box. Is there an easy way to convert an npm module into a lwc component?
Guess I can manually copy and add in the js from the npm module bit by bit until it works but would be useful if there was a more automated approach.