Package Exports
- linkify-jquery
- linkify-jquery/dist/linkify-jquery.cjs
- linkify-jquery/dist/linkify-jquery.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (linkify-jquery) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
linkify-jquery
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
License
MIT