bootstrap-detect-breakpoint

Current Breakpoint:

const output = document.getElementById("breakpoint-output")

function updateView() {
    const currentBreakpoint = bootstrapDetectBreakpoint()
    output.innerHTML = "" + JSON.stringify(currentBreakpoint) + ""
}

updateView()
window.onresize = updateView