linkify-string

v4.1.3
String interface for linkifyjs
link autolink url email

linkify-string

npm version

Linkify String Interface. Use linkify-string to detect URLs, email addresses and more in plain-text strings and wrap them with anchor <a> tags.

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

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

npm i linkify-string

Metadata

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

Downloads

Maintainers