@matrix-org/linkifyjs
v4.0.0-rc.6
Published
Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.
Downloads
17
Maintainers
Readme
linkifyjs
Core Linkify JavaScript library. Use Linkify and its related packages to find links in plain-text and convert them to HTML <a> 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:
- HTML strings
- React component
- jQuery plugin
- DOM Elements
- Plain-text
- #hashtag plugin
- @mention plugin
- #ticket plugin
Usage
License
MIT