linkify-plugin-keyword
v4.1.4
Published
Keyword plugin for linkifyjs
Downloads
2,369
Maintainers
Readme
linkify-plugin-keyword
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?')
License
MIT