Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Has NPM been the closest attempt at something similar to what's described here? Lots of single-function modules like is-even, is-odd, and left-pad.

Although given potential problems with function deletion, maybe there's a case to be made for careful curation of these functions in a single place, we could call it the standard library.



They have a single function but don’t have to be, so package managers can’t assume they are single function. It they could tree shaking might not be needed?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: