keymark
v0.1.2
Published
highlighting a specific key in a string
Readme
keymark
About
highlighting a specific key in a string
Example
support ASCII escape
const keymark = require("keymark");
keymark("Random String ok", "ok");output:
Random String ok
^^custom mark
const keymark = require("keymark");
keymark("Random String ok", "ok", "*");output:
Random String ok
**