The node-snapper tool creates a multi arch skeleton that enables you to quickly put your nodejs project into a .snap package.

It creates one tarball with a nodejs binary and npm-installed modules you specify at build time for each supported architecture and provides you a service startup script to use in your .snap package.
All you need to do after calling this script is to create the meta dir for the snap package, put your .js files in place and modify the execution call in the "start-service.sh" script, then you are ready to call "snappy build ." to create a .snap package to install on your snappy system or to upload to the store.