@matrix-org/linkify-string
TypeScript icon, indicating that this package has built-in type declarations

4.0.0-rc.5 • Public • Published

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

/@matrix-org/linkify-string/

    Package Sidebar

    Install

    npm i @matrix-org/linkify-string

    Weekly Downloads

    1

    Version

    4.0.0-rc.5

    License

    MIT

    Unpacked Size

    7.57 kB

    Total Files

    8

    Last publish

    Collaborators

    • matrixdotorg