How do I vendor multiple nodejs dependencies in a single tarball?

The Node.js packaging guidelines recommend vendoring all necessary node.js dependencies. These modules need to be vendored for a particular package I intend to build in copr. Adding each of them as a separate tarball is a tedious task. Is there any way to create a single tarball with all of them, similar to how rust2rpm can create vendor tarballs using the --vendor flag?

I think you are looking for nodejs-packaging-bundler which is also mentioned in the Node.js packaging guidelines.