2 ms·
I’m glad people publish packages like this, but feel like there needs to be a better way to consume them. What if you could do `npm install-inline ./src/utils
by tlrobinson 7y ago
I’m glad people publish packages like this, but feel like there needs to be a better way to consume them.
What if you could do `npm install-inline ./src/utils is-windows` and npm downloaded the module and inserted it inline in your utils directory, along with a comment referencing the original package, version number, and license information (if required). There could be an update-inline command as well.
This seems like a ok compromise between “install 376 micro libraries” and “copy code snippets off StackOverflow”.