node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

geojson-bounding-volume

GeoJSON Minimum Bounding Volume

Calculates minimum bounding volumes for GeoJSON, returns bboxen (strictly axis aligned bounding boxen) in the format

[
  [min1, min2, ...],
  [max1, max2, ...],
]

It is agnostic as to how many coordinates the geojson has and will use the coordinates with the lowest dimensionality.