Package Information
Available Nodes
Documentation
๐ WeeDB: Persistent Data Storage for n8n

Finally, a reliable way to store persistent data in n8n custom nodes!
๐ฏ The Problem
One of the most challenging aspects of n8n custom node development has been persistent data storage. Common issues include:
- Data loss during node updates
- No built-in persistent storage solution
- State management complexity
๐ก The Solution
WeeDB solves these challenges by providing:
True Persistence
- Data stored in user's home directory (
~/.weedb/
) - Survives node updates and reinstalls
- Cross-platform compatibility
- Data stored in user's home directory (
Simple API
// Store data that persists! await weeDB.create({ key: "settings", value: "important-data" });
Reliable Architecture
~/.weedb/ โโโ database1.json โโโ database2.json โโโ settings/ โโโ config.json
โก Features
1. Persistent Storage
- โ Survives node updates
- โ Survives n8n restarts
- โ Cross-platform support
2. Rich Operations
- ๐ Pattern-based search
- ๐๏ธ Bulk operations
- ๐ Atomic updates
3. Safety Features
- ๐งช Dry run mode
- โ ๏ธ Operation confirmation
- ๐ Data integrity checks
๐ ๏ธ Installation
npm install n8n-nodes-weedb
๐ Documentation
Basic Usage
// Store persistent data
WeeDB Create: {
key: "config",
value: { setting: "value" }
}
// Retrieve anytime, anywhere
WeeDB Get: {
mode: "single",
key: "config"
}
Advanced Features
// Pattern-based removal
WeeDB Remove: {
mode: "pattern",
pattern: "temp_*",
options: { dryRun: true }
}
โญ Support the Project
If you find WeeDB helpful, please consider giving it a star on GitHub! It helps make the project more visible to other n8n developers.
Why Star?
- Help other developers find this solution
- Show your appreciation for the project
- Stay updated on new features and releases
- Join our growing community of n8n developers
๐ฏ Real-World Use Cases
Configuration Storage
- Store API credentials
- Save user preferences
- Maintain state between workflows
Cache Management
- Store API response cache
- Maintain rate limit counters
- Save temporary processing results
Workflow State
- Track long-running operations
- Store checkpoint data
- Maintain audit logs
๐ค Contributing
Found a bug? Have a feature request? We'd love to hear from you! Check out our contribution guidelines.
๐ License
MIT ยฉ Hossein Khoshraftar
/\ \ /\ \ /\ _ \ _ \
\ \ /\ \ \ \ __ \ \ \L\ \ \ \
\ \ \ \ \ \ \L\ \ \ \ __ \ \ \
\ \ _/ \ _/ \ \ \L\ \ _\
\ \___/\/___/ \ \_____\/\_\/
// /___///
WeeDB - Tiny but Mighty