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

4.1.3 • Public • Published

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

Package Sidebar

Install

npm i linkify-plugin-keyword

Weekly Downloads

670

Version

4.1.3

License

MIT

Unpacked Size

16 kB

Total Files

9

Last publish

Collaborators

  • nfrasser