I recently needed to use a Node-based Lambda where it depended on an NPM module.
I didn't wan't to begin using a bundler, switch runtimes or do any workarounds. I just needed to get this custom resource up and running.
Note
I'm not sure whether this whole approach is overkill and could be better accomplished by using URL-based imports.