What it does
An n8n workflow for self-hosted instances that installs npm packages into the n8n container so Code nodes can use them. It installs only the packages that are missing and runs on a daily schedule, on manual start, and when n8n starts. You list the packages in one node and allow them with an environment variable.
Use cases
- 01Install axios so Code nodes can call HTTP APIs
- 02Keep a list of approved npm packages in one place
- 03Restore packages after an n8n upgrade