Building community nodes#
Subject to change
The standards described in this document are for the first release of the community nodes repository. These may change in future releases.
Community nodes are npm packages, hosted in the npm registry.
When building a node to submit to the community node repository, use the following resources to make sure your node setup is correct:
- View the starter node and n8n's own nodes for some examples.
- Refer to the documentation on building your own nodes.
- Make sure your node follows the standards for community nodes.
To make your node available to the n8n community node repository, you must:
- Make sure the package name starts with
@<scope>/n8n-nodes-. For example,
n8n-community-node-packagein your package keywords.
- Make sure that you add your nodes and credentials to the
package.jsonfile inside the
n8nattribute. Refer to the package.json in the starter node for an example.
- Check your node using the linter and test it locally to ensure it works.
- Submit the package to the npm registry. Refer to npm's documentation on Contributing packages to the registry for more information.