Reputation: 2336
I have a node module which is intended to be installed as a global module and meant to be executed in a command line. Since it's a command line tool, I want the install experience to be fast.
Rather than installing the dependencies, what If I bundle and provide a single file and have no dependencies to install. What are the pros and cons of this approach and what are the recommended tools to do such bundling?
Upvotes: 0
Views: 60
Reputation: 21
I assume you just want the installer to bundle the complete set of node_modules. I don't see why you can't just let the user install them using a simple npm install.
We, the developers will have some huge advantages as..
after all node is about packaging and modularization,
Hope that clarifies.
Upvotes: 1