Linkify URLs in String


What’s the easiest way to linkify urls in a string? Eg. wrapping or in <a href="">


Check this out:

It is actually a wrapper around Autolinker.js which allows you to take any string input, automatically find and wrap links with anchor tags.


another case of solving a problem i didn’t know existed, cheers!


When you’re using this package, make sure you sanitize your input because it leaves you open to XSS injections