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

@vura-data-os/core-sdk

v1.0.5

Published

Core SDK for Vura Data OS Add-ons

Readme

@vura-data-os/core-sdk

Core SDK for building Add-ons on top of the VURA notebook platform. VURA has two kernels — the VS Code extension and the standalone vura-runner CLI — and this package defines the one Add-on contract both share, so an Add-on written against it runs unmodified in either host.

Install

npm install @vura-data-os/core-sdk

What's in it

  • IVuraProvider — the contract every Add-on implements: which magic commands (!sync_dataverse, etc.) it handles, and what settings it contributes.
  • ProviderRegistry — the singleton registry both kernels register Add-ons into and dispatch magic commands through.
  • IConnectionAdapter — the contract for connecting to and validating an external system (a CRM, a database, an API) — unrelated to magic-command dispatch.
  • BaseAdapter — an abstract base class with secret-storage helpers (storeSecret/getSecret/deleteSecret) over IVuraEnvironment.
  • FlownbCell, ICellLogger, IVuraEnvironment — host-agnostic types describing a notebook cell, its output sink, and everything an Add-on needs from its host (config, SQL connection profiles, secrets, local DuckDB access). VS Code's real cell/logger/environment objects and vura-runner's CLI equivalents both satisfy these.
  • AutoSchemaFlattener (flattener.ts) — recursively shreds nested JSON into relational Parquet tables linked by Vura_ID / Vura_Parent_ID, and reconstructs the original structure from those tables.
  • ParquetUtilities — low-level helpers for reading and writing Parquet files, used by the flattener and available directly to Add-ons.

Example

This Add-on has no vscode import at all — it runs unmodified in both kernels:

import { IVuraProvider, IConnectionAdapter, BaseAdapter, FlownbCell, ICellLogger, IVuraEnvironment } from '@vura-data-os/core-sdk';

export class MyCustomAdapter extends BaseAdapter implements IVuraProvider, IConnectionAdapter {
    async activate(env: IVuraEnvironment) {
        await super.activate(env); // captures env for BaseAdapter's secret helpers
    }

    getCommands() {
        return ['!my_custom_command'];
    }

    getSettings() {
        return { 'vura.myCustomAdapter.timeout': 5000 };
    }

    async connect() { /* authentication logic */ }
    async validate() { return true; }

    async handleCommand(commandRoot: string, cell: FlownbCell, logger: ICellLogger, env: IVuraEnvironment, commandLine: string) {
        // e.g. env.runLocalQuery(...) to read the shared DuckDB instance
        await logger.logText('Command executed successfully!');
    }
}

Registering in VS Code — the provider is constructed with no arguments; activate(env) supplies the environment:

const core = vscode.extensions.getExtension('nexion-labs.vura-core');
if (core) {
    if (!core.isActive) {
        await core.activate();
    }
    core.exports.registerProvider('my-custom-adapter-id', new MyCustomAdapter());
}

Registering in vura-runner (CLI) — publish your Add-on as its own package with a default export, then either declare it in a notebook's requiredPlugins, or globally: vura-runner config set vura.plugins '["my-custom-adapter-plugin"]'.

See the SDK Guide and Dataverse Integration (a reference implementation split into vura-dataverse-sync-core + vura-dataverse-adapter + vura-dataverse-runner-plugin) in the main repo for the full walkthrough.

License

AGPL-3.0-or-later. See LICENSE. For a commercial license, contact [email protected].