link-text
A function to autolink text. It turns text into linked text with anchor tags.
var link = //=> 'foo <a href="https://google.com">https://google.com</a> bar' //=> 'aaa <script>' //=> '<a href="https://google.com" target="_blank">https://google.com</a>' //=> '<a href="https://ja.wikipedia.org/wiki/%E5%AF%BF%E5%8F%B8">https://ja.wikipedia.org/wiki/寿司</a>'
Install
npm install link-text