1. linkifyjs
Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.
linkifyjs
Package: linkifyjs
Created by: Hypercontext
Last modified: Wed, 22 Nov 2023 03:35:19 GMT
Version: 4.1.3
License: MIT
Downloads: 4,295,684
Repository: https://github.com/Hypercontext/linkifyjs

Install

npm install linkifyjs
yarn add linkifyjs

linkifyjs

npm version

Core Linkify JavaScript library. Use Linkify and its
related packages to detect URLs, email addresses and more in plain-text strings and convert them to HTML <a> anchor tags.

Installation

Install from the command line with NPM

npm install linkifyjs

Import into your JavaScript with require

 const linkify = require('linkifyjs');

or with ES modules

 import * as linkify from 'linkifyjs';

Separate packages are available for each of the following features:

Usage

Read the full documentation.

License

MIT

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code