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

@qodalis/cli-server-plugin-data-explorer-mssql

v1.0.0-beta.35

Published

MS SQL Server data explorer provider plugin for Qodalis CLI server

Readme

@qodalis/cli-server-plugin-data-explorer-mssql

Microsoft SQL Server data explorer provider for Qodalis CLI Server (Node.js). Connects to a SQL Server instance and executes T-SQL queries with schema introspection support.

Install

npm install @qodalis/cli-server-plugin-data-explorer-mssql

Quick Start

import {
    DataExplorerBuilder,
    createDataExplorerController,
    DataExplorerExecutor,
} from '@qodalis/cli-server-plugin-data-explorer';
import { MssqlDataExplorerProvider } from '@qodalis/cli-server-plugin-data-explorer-mssql';
import { DataExplorerLanguage, DataExplorerOutputFormat } from '@qodalis/cli-server-abstractions';

const deBuilder = new DataExplorerBuilder()
    .addProvider(
        new MssqlDataExplorerProvider({
            connectionString: 'Server=localhost;Database=mydb;User Id=sa;Password=secret;',
        }),
        {
            name: 'mssql',
            description: 'SQL Server database',
            language: DataExplorerLanguage.Sql,
            defaultOutputFormat: DataExplorerOutputFormat.Table,
        },
    );

const executor = new DataExplorerExecutor(deBuilder.registry);
app.use('/api/v1/qcli/data-explorer', createDataExplorerController(deBuilder.registry, executor));

Configuration

| Option | Type | Description | |---|---|---| | connectionString | string | SQL Server connection string |

Features

  • Execute any T-SQL query and receive tabular results.
  • Schema introspection lists all tables and views in the dbo schema with column names, data types, nullability, and identity column detection.

Dependencies

  • mssql

Terminal commands

None of its own: the provider is queried through the data explorer plugin (data-explorer in the web CLI).

Install from the dashboard

Installable at runtime from the admin dashboard's Marketplace tab (Server plugins) or admin plugins install data-explorer-mssql (admin plugin): the server installs the npm package into <dataDir>/server-plugins and loads it at the next start, no code (runtime plugins). Its entry (qodalis.entry, dist/plugin.js) adds one SQL Server source to the data explorer from its settings.

| Setting | Type | Default | | |---|---|---|---| | name | string | mssql | The source name in the data explorer | | description | string | the engine name | | | connectionString | secret | — | Server=host;Database=db;User Id=user;Password=...; | | readOnly | boolean | true | Queries may only read | | timeoutMs | number | 30000 | 1000-600000 | | maxRows | number | 1000 | 1-100000 |

Every setting needs a restart. Set them with config set data-explorer-mssql.settings.<key> <value> or the Config page, then restart: until the connection is set the plugin is needs-configuration (no source added, listed with its missing settings). The connection is a secret setting: kept by the server's config store, never returned by the API (isSet only). The database driver comes with the package.

License

MIT