0.1.2 • Published 5 months ago
keymark v0.1.2
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
**