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

Readme

Keywords

Package Sidebar

Install

npm i linkify-string

Weekly Downloads

50,987

Version

4.2.0

License

MIT

Unpacked Size

9.72 kB

Total Files

9

Last publish

Collaborators

  • nfrasser