Back to Nodes

WeeDB String Create

Last updated Apr 3, 2025

WeeDB Logo
Finally, a reliable way to store persistent data in n8n custom nodes!

97 Weekly Downloads
397 Monthly Downloads

Included Nodes

WeeDB String Create
WeeDB Key Value Create
WeeDB Key Value Get
WeeDB Key Value Remove
WeeDB Create Object
WeeDB Data Get
WeeDB Data Delete
WeeDB Object Update
WeeDB String Update

Description

πŸš€ WeeDB: Persistent Data Storage for n8n

WeeDB Logo

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:

  1. True Persistence

    • Data stored in user's home directory (~/.weedb/)
    • Survives node updates and reinstalls
    • Cross-platform compatibility
  2. Simple API

    // Store data that persists!
    await weeDB.create({ key: "settings", value: "important-data" });
    
  3. 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.


GitHub stars

Every star makes a difference!
Click the badge above to star the project on GitHub

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

  1. Configuration Storage

    • Store API credentials
    • Save user preferences
    • Maintain state between workflows
  2. Cache Management

    • Store API response cache
    • Maintain rate limit counters
    • Save temporary processing results
  3. 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


Built with ❀️ for the n8n community

⭐ Star us on GitHub


/\ \ /\ \ /\ _ \ _ \
\ \ /\ \ \ \ __ \ \ \L\ \ \ \
\ \ \ \ \ \ \L\ \ \ \ __ \ \ \
\ \ _/ \ _
/ \ \ \L\ \ _\
\ \___/\/___/ \ \_____\/\_\/ // /___//
/
WeeDB – Tiny but Mighty