This may not be the whole story, but one of the reasons is that JavaScript does not have a standard library. Corollaries are: several different module systems, application frameworks and bundlers exist.
I think that's a big part. The standard library isn't great, and progress is tied to browsers. Additionally, tiny packages became the norm early on. Is even, is odd, is negative zero, left pad, etc.
I don't know all the reasons for that, but I think part of it is that developers create them in order to put it on their resume. "My package is downloaded 500k times a week"
Of course it depends on your system but it's more a matter of minutes than of hours. It's a really enjoyable experience to hack on the system and being able to rebuild in seconds. Just have a look at some SerenityOS hacking videos, they are truly inspiring.
> Since you know they are bots, why couldn't you filter them?
A decent amount can be filtered by UA. This is inconvenient because UA is a very large piece to log and index on, so you need to do UA processing to do anything useful with it and … well by that point it just becomes a chore and I suspect there's good logging services that do this better than you'd spend your time doing yourself.
> On the other hand, couldn't there be bots that run JavaScript which would be tracked client-side?
They exist but they're more rare by nature, because running JS at bot scale is expensive.
> well by that point it just becomes a chore and I suspect there's good logging services that do this better than you'd spend your time doing yourself.
Which is why the OP suggested using tools like goaccess.
> Depending on what country I travel to, Ill be using a different app like Grab or Didi or a local taxi app that were all made possible by Uber's initial disruption.
Local Taxi hailing apps were first. Uber adopted this and their disruption of many local markets happened only after offering cheaper alternatives by burning money.
I worked on a short-lived idea for taxi hailing apps before the iPhone even existed. The target then was Palm Pilots and feature phones. Alas, before its time.