Hi @tohagan . Thank you for submitting a PR and raising an issue about the overall size of the package.
I did not optimize the package for loading time as I am used to use lodash on big projects where the extra kb are definitely worth. I've submitted a PR with a slightly different implementation than you, feel free to comment on it and tell me what you think: https://github.com/tom-s/speak-tts/pull/12
In the meantime i'll close this PR.
Hi @tohagan . Thank you for submitting a PR and raising an issue about the overall size of the package. I did not optimize the package for loading time as I am used to use lodash on big projects where the extra kb are definitely worth. I've submitted a PR with a slightly different implementation than you, feel free to comment on it and tell me what you think: https://github.com/tom-s/speak-tts/pull/12 In the meantime i'll close this PR.