use-page-headings-tree (npm): A React hook to get tree data from a list of heading nodes
Keywords: react|hooks|tree|headings|use|useeffect