Socket
Socket
Sign inDemoInstall

linkify-plugin-keyword

Package Overview
Dependencies
1
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    linkify-plugin-keyword

Keyword plugin for linkifyjs


Version published
Weekly downloads
670
decreased by-6.42%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

v4.1.3

  • Fix HTML entity & symbol double-encoding in linkify-html
  • Support for full-width brackets, full-width less-than/greater-than signs and corner bracket as delimiters

Readme

Source

linkify-plugin-keyword

npm version

Detect and convert arbitrary keywords to <a> anchor tags with Linkify.

Installation

Install from the command line with NPM

npm install linkifyjs linkify-plugin-keyword

Import into your JavaScript with require

const linkify = require('linkifyjs')
const registerKeywords = require('linkify-plugin-keyword');

or with ES modules

import * as linkify from 'linkifyjs';
import registerKeywords from 'linkify-plugin-keyword';

Usage

registerKeywords(['foo', 'bar', 'baz'])
linkify.find('Any foo keywords here?')

Read the full documentation.

License

MIT

Keywords

FAQs

Last updated on 22 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc