You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, the current way things work, a lot of memory is required to process long strings. There have been some significant improvements made since version 1.0.3 that do a bit better with memory, but there are more improvements in that space that can be made. Your project would need to accept ESM packages though.
A suggestion for the short term I could make is splitting the string into chunks, possible by spaces, then processing each chunk separately.
The best set of instructions I've seen for moving a project to ESM popped up on my screen after updating a dependency written by the legendary Sindre Sorhus. I consult it on the regular.
Sometimes when using this package, a
heap out of memory
error occurs. This usually happens with longer strings.Version: 1.0.3
Node Version: 16.6
The text was updated successfully, but these errors were encountered: