1
Speeding up the JavaScript ecosystem, one library at a time
Most popular libraries can be sped up by avoiding unnecessary type conversions or by avoiding creating functions inside functions.
Visit marvinh.dev → On Hacker News Nov 2022 – Oct 2023
Most popular libraries can be sped up by avoiding unnecessary type conversions or by avoiding creating functions inside functions.
Many popular npm packages depend on 6-8x more packages than they need to. Most of these are unnecessary polyfills and it's one of the key reasons node_modules folders are so large. The eslint ecosystem seems to be most affected by this.
Many projects are littered with files that just re-export other files. These so called "barrel files" are one of the key reasons why JavaScript tooling is slow in bigger projects.