JS cheat sheet


Bundling

When to bundle:

When not to bundle:

By "callable script" in the above lists, I mean something that's exported via the "bin" field in the project's package.json and which is installable via npm link or npm i -g.