Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

acoelhosantos
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant