Like other “serverless” platforms, an OpenWhisk JavaScript Action may be a single .js
file. As functions grow beyond trivial—and begin to depend on third-party modules—that single, forlorn .js
file can no longer shoulder the burden.
The OpenWhisk Documentation suggests simply throwing an entire project—node_modules
and all—