Package Information
Documentation
n8n-nodes-distru
This repository contains n8n community nodes to integrate with Distru, a full-stack inventory, warehouse, and order management platform. These nodes allow you to automate workflows interacting with the Distru API directly inside n8n.
To share your own nodes with the community, you must package them as an npm module, and publish it on the npm registry.
Prerequisites
Make sure your development machine has the following installed:
Node.js version 18 or higher and pnpm package manager
Install using nvm (Node Version Manager) on Linux, Mac, or WSL: https://github.com/nvm-sh/nvm
Windows users can refer to Install NodeJS on WindowsInstall n8n globally with:
pnpm install -g n8n
Recommended: follow the official n8n guide on setting up a Node Development Environment for full details.
Using this package
Here is how to quickly get started working with the Distru integration nodes:
Clone this repository:
git clone https://github.com/Sebbytea/distru-n8n.git cd distru-n8n
Install dependencies:
pnpm install
Open the project in your preferred editor.
Explore the source code in
/nodes
and/credentials
. These contain the Distru nodes and API credential setup.Update
package.json
for any personal project metadata if you fork or create your own package.Use lint commands to keep code quality:
pnpm lint pnpm lintfix
Build the package before running or publishing:
pnpm build
Test your nodes locally inside n8n. Refer to Run Your Node Locally for detailed instructions.
When ready, publish your node package to npm following the npm guidelines: Publishing npm Packages.
Documentation
- Distru API documentation: https://docs.distru.com/api
- n8n node creation guide: https://docs.n8n.io/integrations/creating-nodes/
- Node development environment setup: https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/
- Testing custom nodes: https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/
License
Let me know if you want help customizing for your particular repo setup or adding usage examples!