A utility for determining TopoJSON endpoints for nodes in a rollup tree structure, used as a dependency within the 832 impact mapping framework. The current version is 1.2.0. It is a niche internal package with low release activity. Key differentiator: tightly coupled with the 832 project's rollup tree model for spatial data.
npm install impact-map-endpointNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage to compute TopoJSON endpoint for a node in a rollup tree.
Update consumer code to access endpoint.coordinates instead of endpoint.endpoint.coordinates.
Remove tolerance option; no replacement.
Ensure rollup tree has no circular references before passing to the function.
Ensure root node has children: [] even if no children.
Set node.type to one of: 'region', 'point', 'line', 'polygon'.
No dependency data recorded yet.