npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-json-vault

v0.2.7

Published

JSON Vault system for n8n - A centralized JSON storage system for temporary data within workflows

Readme

n8n-nodes-json-vault

This is an n8n community node package. It provides a centralized JSON storage system (JSON Vault) for managing temporary data within n8n workflows.

JSON Vault is a system of nodes that allows you to store, update, and retrieve JSON data across your workflow without physical node connections. All data is stored in workflow static data, making it accessible from anywhere in the workflow using n8n expressions.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Compatibility
Usage
Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

Alternatively, install via npm:

npm install n8n-nodes-json-vault

Operations

This package includes six nodes that work together:

1. JSON Vault (Central Node)

The central storage node that maintains all JSON data in workflow static data.

  • Initialize / View: Initializes or displays the current vault contents
  • Clear All: Clears all data from the vault

Key Features:

  • No input/output connections required (standalone node)
  • Data accessible via expressions: {{$node["JSON Vault"].json["key"]}}
  • Persistent during workflow execution

2. Insert JSON

Inserts or replaces JSON data in the vault.

Properties:

  • Key: The key to store the data (supports nested paths like "users.admin")
  • JSON Data: The JSON object or value to insert
  • Merge Mode: Replace or Deep Merge
  • Data Source: Manual entry or from previous node

Operations:

  • Insert new key-value pairs
  • Replace existing values
  • Deep merge with existing objects

3. Update JSON

Updates existing JSON data in the vault.

Properties:

  • Key: The key to update (supports nested paths)
  • JSON Data: The new data
  • Merge Mode: Replace or Deep Merge
  • Create if Not Exists: Whether to create the key if it doesn't exist
  • Data Source: Manual entry or from previous node

Operations:

  • Update existing keys
  • Deep merge with existing objects
  • Conditional creation of new keys

4. Delete JSON

Deletes JSON data from the vault.

Properties:

  • Key: The key to delete (supports nested paths)
  • Error if Not Exists: Whether to throw an error if key doesn't exist

Operations:

  • Delete keys and their values
  • Delete nested paths (e.g., "users.admin.settings")
  • Returns deleted value in output

5. Clear JSON

Clears data from the JSON Vault.

Properties:

  • Clear Mode: Clear All or Clear Specific Key
  • Key: The key to clear (only when Clear Mode is "Clear Specific Key")

Operations:

  • Clear all data from the vault
  • Clear a specific key
  • Supports nested paths

6. List JSON

Lists all keys and values stored in the JSON Vault.

Properties:

  • Output Format: Keys Only, Keys and Values, or Full Vault
  • Include Nested Keys: Whether to include nested keys (e.g., "users.admin.settings")

Operations:

  • List all keys in the vault
  • List keys with their values
  • Return the complete vault object
  • Support for nested keys listing

Compatibility

  • Minimum n8n version: 1.0.0
  • Tested with: n8n 1.0.0+
  • Node.js: v22 or higher

Usage

Basic Example

  1. Add JSON Vault node to your workflow and execute it to initialize

  2. Use Insert JSON to store data:

    Key: "clientes"
    JSON Data: ["ALCORCON", "MADRID", "SEVILLA"]
  3. Access data from any node using expressions:

    {{$node["JSON Vault"].json["clientes"]}}

    → Returns: ["ALCORCON", "MADRID", "SEVILLA"]

  4. Update the data with Update JSON:

    Key: "clientes"
    JSON Data: ["ALCORCON", "MADRID", "SEVILLA", "VALENCIA"]
  5. Access updated data:

    {{$node["JSON Vault"].json["clientes"]}}

    → Returns: ["ALCORCON", "MADRID", "SEVILLA", "VALENCIA"]

Nested Paths

You can use dot notation for nested paths:

Key: "users.admin.settings"
JSON Data: {"theme": "dark", "notifications": true}

Access with:

{{$node["JSON Vault"].json["users"]["admin"]["settings"]}}

Deep Merge Example

When updating objects, you can use Deep Merge to partially update:

Existing: {"name": "John", "age": 30, "settings": {"theme": "light"}}
Update with: {"age": 31, "settings": {"notifications": true}}
Result: {"name": "John", "age": 31, "settings": {"theme": "light", "notifications": true}}

Use Cases

  • Centralized Configuration: Store workflow configuration in one place
  • Temporary State: Keep state between workflow executions
  • Data Aggregation: Collect data from multiple sources
  • Cross-Node Communication: Share data without physical connections
  • Result Caching: Cache intermediate results for reuse

Important Notes

  • Data is stored in workflow static data (memory)
  • Data persists only during workflow execution
  • Data is cleared when workflow execution completes (unless saved elsewhere)
  • Maximum vault size: 10MB
  • Keys must contain only letters, numbers, dots, hyphens, and underscores

Resources

Development

To develop this package locally:

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

# Lint code
npm run lint
npm run lint:fix

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT