linkifyjs

v4.1.3
Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.
autolink email hashtag html jquery link mention react twitter and 2 more...

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

npm i linkifyjs

Metadata

  • MIT
  • Whatever
  • Hypercontext
  • released 11/22/2023

Downloads

Maintainers