Custom repository for nodes from https://www.npmjs.com/

Hello!

If I used any custom node from https://www.npmjs.com/, will this node be inaccessible for any reason? Can I create my own repository for such nodes and install it from one? If yes, how can I do that?

Information on your n8n setup

  • n8n version: any
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: Linux

Can you add ENV variable for redefine used constant URL?

export const NPM_PACKAGE_URL = 'https://www.npmjs.com/package';

While it’s possible to use a custom registry, it’s currently only available to users with a n8n license.
If you have a license, you can set the registry url via N8N_COMMUNITY_PACKAGES_REGISTRY env variable, but you’d need to be a relatively newer version of n8n.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.