npm.io
4.3.3 • Published 4 months ago

linkify-string

Licence
MIT
Version
4.3.3
Deps
0
Size
10 kB
Vulns
0
Weekly
0
Stars
2.0K

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

Keywords