topick icon indicating copy to clipboard operation
topick copied to clipboard

Safe get symbol function; standardjs removal; package update; code formatting.

Open acoelhosantos opened this issue 6 years ago • 0 comments

I removed standardjs and formatted the code with prettier. I believe that both have pros/cons that do not need to be discussed here. Since my dev-pipeline uses prettier, I ended up using it here also (maybe it should not have gone in the PR).

Most importantly, I added a new function - safeGetSymbolFromCurrency - to get the symbol or if the lookup fails, return the input as-is. I believe having both options will help whoever uses this package.

acoelhosantos avatar Jun 29 '18 09:06 acoelhosantos