This is a custom element that provides many basic infrastructure for Front-End, including math/nodeList extension and API communication.
npm install front.end.infrastructurejavascript
window.Math.randomRange(min, max);
window.Number.prototype.toRad();
window.Math.calculateDistance(lat1, lon1, lat2, lon2);
`
window.NodeList
`javascript
window.NodeList.prototype.addEventListener(eventName, handler);
window.NodeList.prototype.remove();
window.NodeList.prototype.exec(callback);
window.NodeList.prototype.setAttribute(key, value);
window.NodeList.prototype.removeAttribute(key);
window.NodeList.prototype.addClass(name);
window.NodeList.prototype.removeClass(name);
``