🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

@voiden/extension-kit

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@voiden/extension-kit

`voiden-wrapper` is the official wrapper library for building **Voiden extensions**. It provides the necessary hooks, utilities, and integration points to create powerful, composable, and reusable blocks that work seamlessly within the Voiden ecosystem.

latest
npmnpm
Version
1.0.8
Version published
Maintainers
1
Created
Source

voiden-wrapper

voiden-wrapper is the official wrapper library for building Voiden extensions. It provides the necessary hooks, utilities, and integration points to create powerful, composable, and reusable blocks that work seamlessly within the Voiden ecosystem.

✨ Features

  • 🧩 Build custom extension blocks for Voiden
  • 🧠 Hook into Voiden’s internal data model and event system
  • ⚡ Provide dynamic behavior, UI components, or API interactions
  • 🔌 Easy integration with Voiden’s local and offline runtime

📦 Installation

npm install voiden-wrapper

or with yarn:

yarn add voiden-wrapper

🛠️ Usage

Here's a basic example to get you started:

import { defineExtension } from 'voiden-wrapper';

export default defineExtension({
  name: 'example-extension',
  version: '1.0.0',
  setup(api) {
    api.registerBlock({
      type: 'custom-block',
      label: 'My Custom Block',
      render(props) {
        return `<div>Hello from custom block: ${props.content}</div>`;
      },
    });
  },
});

🧱 Extension Structure

A typical extension built with voiden-wrapper should export a default defineExtension() call that registers:

  • Blocks (UI or logic)
  • Actions (custom commands or behaviors)
  • Hooks (events, state, or inter-block communication)

Voiden loads these extensions in a sandboxed local environment to ensure safety and composability.

🧪 Development

To develop and test your extension locally, use the Voiden CLI (coming soon) or load it directly into the desktop app via the Developer Tools → Load Extension panel.

📚 Documentation

Detailed extension APIs and examples are available on the Voiden Extension Docs (placeholder link).

🔒 Compatibility

This wrapper targets Voiden >=1.0.0. Breaking changes will be versioned according to semver.

🧠 Philosophy

Voiden extensions are designed to be:

  • Composable: work well with other blocks
  • Offline-first: no dependency on external services
  • Hackable: give you full control over behavior

🤝 Contributing

We welcome contributions and bug reports. Please open issues or pull requests in the voiden-wrapper GitHub repository.

📄 License

MIT © VoidenHQ

FAQs

Package last updated on 22 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts