In the README.md under the Basic Usage section, line 5 of the code section says const mbTilesDataset = result.dataset[0]; which should read const mbTilesDataset = result.datasets[0]; as per the code I found. Using dataset throws the error TypeError: Cannot read property '0' of undefined.
In the README.md under the Basic Usage section, line 5 of the code section says
const mbTilesDataset = result.dataset[0];
which should readconst mbTilesDataset = result.datasets[0];
as per the code I found. Using dataset throws the errorTypeError: Cannot read property '0' of undefined
.README.md
Code where datasets is used