Before we get too deep on this, let's consider updating mapbox-geostats to be partially a node library, and partially a node addon library.
Why?
no decoupling of specifications - we can make sure generating stats for mbtiles stays completely coupled with the specification in mapbox-geostats. In particular, we could work on a node addon function that has some sort of knowledge of the layer stats and stats objects.
one less module to manage
Why not?
build systems are pretty different here, so mapbox-geostats will get a lot of extra build requirements for a single set of methods, while the rest is pure JS
Before we get too deep on this, let's consider updating mapbox-geostats to be partially a node library, and partially a node addon library.
Why?
Why not?
cc @springmeyer @GretaCB