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

Refactor module to use node-numbered instead #19

Closed
wants to merge 2 commits into from

Conversation

faridnsh
Copy link
Contributor

@faridnsh faridnsh commented Oct 31, 2017

Note that this removes the languageMap support because it doesn't make sense and a quick search on Github didn't show anybody using it in an open source package. You can just release a semver major version.

However if you don't agree with this, we could easily add it back and emulate it.

Another to note that node-numbered only supports English numbers. I was thinking to support this people could provide their own English number parser(something that does exactly what numbered.parse does as an argument. We could try to extend node-numbered but I'm sure it'll never be good enough to support all languages with the same amount of code, so letting people having their own parser specific for their language makes the package more usable.

Closes #9

@faridnsh
Copy link
Contributor Author

faridnsh commented Apr 3, 2019

Sorry for the long response. I have rebased the PR, so the tests now pass.

@simison
Copy link
Member

simison commented Oct 16, 2020

Follow up at #33 and #37

@simison simison closed this Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use something like node-numbered to convert words in numbers
2 participants