0.10.0 • Published 2 years ago
@lotips/core v0.10.0
@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-mobile
is-iOS
is-android
0.9.3
2 years ago
0.10.0
2 years ago
0.9.2
2 years ago
0.9.0
2 years ago
0.9.1
2 years ago
0.8.3
3 years ago
0.8.3-alpha.2
4 years ago
0.8.3-alpha.0
4 years ago
0.8.1
4 years ago
0.8.1-y.0
4 years ago