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

@vanviolet/gluex

v0.1.1

Published

Official SDK and CLI for creating Gluttony extensions

Downloads

7

Readme

gluex

Official SDK and CLI for building Gluttony desktop extensions.

Features

  • TypeScript SDK — Full type definitions for the Gluttony Extension API
  • DOM Helpers — Pre-styled UI components that match the Gluttony theme
  • CSS Variables — Complete reference to all 100+ theme variables
  • CLI Tool — Scaffold, build, validate, and package extensions
  • Templates — Start with a basic, sidebar, or theme template
  • esbuild Powered — Fast builds with tree-shaking and minification

Quick Start

# Install globally
npm install -g gluex

# Create a new extension
gluex create my-extension --template sidebar

# Build and package
cd my-extension
npm install
npm run build

# The .glx file is ready to install in Gluttony!

Extension Entry Point

import type { GluttonyAPI } from '@vanviolet/gluex';

export function activate(api: GluttonyAPI) {
  // Register a command
  api.commands.register('hello', 'Hello World', () => {
    api.ui.showNotification('Hello from my extension!');
  });

  // Create a sidebar panel
  api.ui.registerSidebarPanel('main', {
    title: 'My Extension',
    render(container) {
      container.innerHTML = '<div style="padding:16px">Hello!</div>';
    },
  });

  // Add a status bar item
  api.ui.registerStatusBarItem('info', {
    text: 'My Ext',
    alignment: 'right',
    tooltip: 'My Extension is active',
  });
}

export function deactivate() {
  // Called on extension deactivation
}

API Overview

| Namespace | Description | |-----------|-------------| | api.commands | Register/execute Command Palette commands | | api.ui | Sidebar panels, panel tabs, status bar items, notifications | | api.theme | Get/set theme, read/write CSS variables | | api.layout | Toggle sidebar, panel, activity bar, status bar | | api.contextMenu | Show context menus | | api.fs | File system operations (read, write, list, create, delete) | | api.http | HTTP requests (GET, POST, etc.) | | api.system | System info, environment variables | | api.window | Minimize, maximize, close window | | api.storage | Extension-scoped persistent key-value storage | | api.extension | Extension ID, path, subscriptions |

CLI Commands

| Command | Description | |---------|-------------| | gluex create [name] | Scaffold a new extension | | gluex build | Bundle and package as .glx | | gluex dev | Watch mode for development | | gluex validate | Validate manifest.json | | gluex help | Show help |

DOM Helpers

Build themed UI easily:

import {
  createPanel, createHeading, createButton,
  createInput, createList, cssVar, CSS_VARS,
} from '@vanviolet/gluex/helpers';

Documentation

License

MIT