relit (reactive lit) is a collection of utilities to provide various features as reactive state to lit components.
DOM state, web APIs, property history and much more.
To install relit, simply add it as a dependency to your lit project:
npm i -S relitThe following is the full list of available utilities:
- activeElement - observable document.activeElement
 - bindInput - two-way bindings of form controls/inputs
 - documentVisibility - observable document.visibilityState
 - elementSize - element width and height
 - elementVisibility - element visibility
 - head - 
<head>tag management - itemSelection - manages selection within an array of items
 - keyBinding - key bindings (shortcuts) manager
 - localStorage - items in localStorage
 - markdown - markdown processing via marked
 - onLongPress - fire callback on long press
 - permissions - track the state of a browser permission
 - propertyHistory - track the history of a property with undo/redo
 - sessionStorage - items in sessionStorage
 - slot - track slotted elements
 - windowScroll - track the window scroll offset
 
MIT