Linkify String Interface. Use linkify-string
to detect URLs, email addresses and more in plain-text strings and wrap them with anchor <a>
tags.
This function will not parse strings with HTML. Use one of the following instead, depending on your application:
Install from the command line with NPM
npm install linkifyjs linkify-string
Import into your JavaScript with require
const linkifyStr = require('linkify-string');
or with ES modules
import linkifyStr from 'linkify-string';
MIT