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

4.1.3 • Public • Published

linkify-jquery

npm version

Linkify jQuery plugin. Also available in vanilla JavaScript via linkify-element. Use it to detect URLs, email addresses and more and wrap them with anchor <a> tags.

Installation

Install from the command line with NPM

npm install linkifyjs linkify-jquery

Import into your JavaScript with require

const $ = require('jquery');
require('linkify-jquery')

or with ES modules

import $ from 'jquery';
import 'linkify-jquery';

If a window.document global is not available in your environment, provide it manually instead as follows.

With require:

require('linkify-jquery')($, document);

or with ES modules:

import linkifyJq from 'linkify-jquery';
linkifyJq($, document);

Usage

Read the full documentation.

License

MIT

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i linkify-jquery

    Weekly Downloads

    233

    Version

    4.1.3

    License

    MIT

    Unpacked Size

    28.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • nfrasser