crypti / cryptocurrencies

📋 Get a list of all the cryptocurrency symbols and names.
MIT License
260 stars 112 forks source link

Build a post-build routine to inject overrides #11

Closed radiovisual closed 6 years ago

radiovisual commented 6 years ago

As noted in PR #10, sometimes the cryptocompare API returns typos in the currency names, and manually updating these typos after each build sounds horrible, so let's automate it!

I propose that we keep a list of updates to the apply to the generated JSON after it has been built, and we can start with the only item on this list being:

const postUpdates = {
 'VertCoin': 'Vertcoin'
}

and I am sure more will follow.

radiovisual commented 6 years ago

Not sure if this is really needed, since issues reported to Cryptocompare get fixed really fast, so typos in the currency names can get fixed there for now. We can revisit this idea in the future if it becomes a problem.