UNPKG
mtfunit
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Mtfunit is a tiny JavaScript library that includes useful functions to operate strings and DOM
mtfunit
/
demo
/
node.js
3 lines
•
285 B
JavaScript
View Raw
1
2
3
const
{ query, serialize, $, removeNode, insertAfter, addClass, removeClass, getAbsoluteUrl, debounce, throttle, removeItemByIndex, removeItemByValue, htmlEncode, javaScriptEncode } =
require
(
'../dist/mtfunit.js'
)
console
.
log
(
query
(
'd'
,
'd= 1'
))
console
.
log
(
getAbsoluteUrl
(
'/a/b/c'
))