typia
typia copied to clipboard
Could be replace randexp with something else?
Feature Request
The randexp seems like an unmaintained repo. It's using CJS that is bad for dead code elimination. Also has some old dependencies that also seems to be unmaintained. https://github.com/fent/randexp.js
Made a PR to try to add sideEffects: false
to them without any response.
What do you think?
Do you know something to recommend?
I also hope to change to another one. When complicate regular expression comes, randexp
generates wrong string value which even cannot pass the RegExp.test(string)
function of itself.
Might give reregexp a shot. It does have limitations though.
@samchon I never used such feature before. The only thing I would like is something that is ESM because it's better for dead code elimination.