"Library Plugin" like the index backend of Dataview

Hi all–I’m wondering if there’s a plugin like Dataview that JUST handles maintaining an index of pages, tags, links, etc.
Feels like a) this could help make Dataview more maintainble–I imagine this part is tricky, and b) would let other plugins avoid also having to hook into the file lifecycle to manage all that state.

In the meantime I guess I can just copy some of it, or install Dataview but not use it.