linkify-string
TypeScript icon, indicating that this package has built-in type declarations

4.2.0 • Public • Published

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

Dependents (25)

Package Sidebar

Install

npm i linkify-string

Weekly Downloads

21,425

Version

4.2.0

License

MIT

Unpacked Size

9.72 kB

Total Files

9

Last publish

Collaborators

  • nfrasser