4.0.0-rc.5 • Published 2 years ago

@matrix-org/linkify-string v4.0.0-rc.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

linkify-string

Linkify String Interface. Use linkify-string to replace links in plain-text strings with anchor tags.

This function will not parse strings with HTML. Use one of the following instead, depending on your application:

  • linkify-html
  • linkify-element
  • linkify-jquery

Installation

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';

Usage

Read the full documentation.

License

MIT