See, this is what I don't get about the JS/NPM ecosystem.
This is 140 lines of code, with comments. Yet it gets a whole separate repository, with a cute name, fancy README, little emoji graphics and a bespoke logo. All of this for functionality that other languages have in their stdlib.
It's almost like it's more of an exercise in marketing than an attempt to actually make a useful library.
Yeah, that’s just how the JS ecosystem works — even small utilities often get published as separate packages so they can be reused without copy-pasting. I originally built this for myself, and figured it might be useful to others too.
As for the name and README — I don’t really see it as marketing. I just prefer to make things clear and easy to use for anyone who stumbles across it. Even if it’s a small project, why not present it properly?
If that comes off as overkill, fair enough. I’d rather overdeliver than leave people guessing.