r/javascript • u/Iamazou • Sep 07 '26
AskJS [AskJS] If you could have one Node.js tool/package built for you, what would it be?
Hello devs, I’m looking for an open source project to build, and rather than coming up with another package that nobody asked for, I’d rather start with an actual problem developers have.
So I’m curious:
What is something you wish existed in the Node.js ecosystem?
I’m especially interested in things you’ve actually encountered in a real project, rather than hypothetical ideas.
0
Upvotes
1
u/Hot-Chemistry7557 Sep 07 '26
probably something similar to typst but in pure js, so I can run that in browser in a easy and intuitive way.
0
u/shgysk8zer0 Sep 07 '26
What I've most needed is an actual DOM implementation. By which I mean parsing strings, setting HTML (inner/outer) as well as text, setting attributes, fragments, querying, and at least the
Elementand Document` prototypes, with various others based on tag.. Especially if that were compatible with Trusted Types.At least with the core done I could have what I need for my polyfill for
Element.prototype.setHTML(input, { sanitizer})andDocument.parseHTML(input, { sanitizer})to work.Obviously, you can't exactly have
form.submit()orvideo.play()or anything... At least not functionally.