@lotips/core
utility for vanilla js
do-highlight
replace highlight -> <mark>highlight</mark> with with vanilla js.
doHighlight('hello world', 'world')
// hello <mark>world</mark>do-search
search website content with keyword, and highlight it.
doSearch('world')exports-template
generate package's exports field.
const exports = exportsTemplate({
names: ['index', 'ua', 'do-something/index']
})ua
is-mobileis-iOSis-android