thegreenwebfoundation / co2.js

An npm module for accessing the green web API, and estimating the carbon emissions from using digital services
Other
393 stars 49 forks source link

WIP - Try out precompiled SQLite instead of making it locally #21

Closed mrchrisadams closed 4 years ago

mrchrisadams commented 4 years ago

This PR exists to avoid the lengthy compilation step when using SQLite to make queries, by using a npm package that provided precompiled versions of SQLite3.

It might be slower than better-sqliteand the API is different.

I've marked the failing tests as a skip to see the impact is has on build.

Note to others, and my future self - please don't merge this in until the skipped tests are run, and passing again

mrchrisadams commented 4 years ago

This is no longer needed. All the SQLite work happens in a different module now:

https://www.npmjs.com/package/@tgwf/url2green