linkify-element
Version:
Browser DOM element interface for linkifyjs
34 lines (22 loc) • 841 B
Markdown
linkify-element
===
[](https://www.npmjs.com/package/linkify-element)
[](https://linkify.js.org/) DOM Element Interface. Use `linkify-element` to detect URLs, email addresses and more within native HTML elements and replace them with anchor tags.
Note that `linkify-element` is included with `linkify-jquery`, so you do not have to install it if you are using `linkify-jquery`.
Install from the command line with NPM
```
npm install linkifyjs linkify-element
```
Import into your JavaScript with `require`
```js
const linkifyElement = require('linkify-element');
```
or with ES modules
```js
import linkifyElement from 'linkify-element';
```
[](https://linkify.js.org/docs/linkify-element.html).
MIT