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

@descix/app-sdk

v0.1.0

Published

DeSciX App Shell - init-to-READY logic, core API, Powch integration, dev proxy config

Readme

@descix/app-sdk

Core package for all DeSciX web apps. Provides init-to-READY app shell logic, auth, API surface, Powch bridge integration, and dev proxy/config. Every app (Powch PWA, DeSciX PWA, standalone samples) imports @descix/app-sdk and builds with __STANDALONE_APP_ID__ === [app id].

Installation

Future (npm publish):

npm install @descix/app-sdk

Current (monorepo):

{
  "dependencies": {
    "@descix/app-sdk": "file:../DeSciX_Core/descix-app-sdk"
  }
}

Exports

| Export | Description | |--------|-------------| | . | AppShell, AppContext, AppProvider, useAppContext, Api, ErrorBoundary, LoadingWidget, DebugWidget, CodeSiteWidget, ChatWidget, PowchSideBarWidget, PowchBridgeProvider, usePowchBridge, PowchClient | | ./dev | createViteProxyConfig, createViteServerConfig, getViteHttpsConfig | | ./powch-client | PowchClient (for third-party sites) |

Usage

AppShell + Children

import { AppShell } from '@descix/app-sdk';
import { PowchAppProvider, PowchStandaloneApp } from '@powch/react';

function PowchApp() {
  return (
    <AppShell appId="powch" config={{ powch: { brand: { name: 'Powch', logo: null } } }}>
      <PowchAppProvider config={{ brand: { name: 'Powch', logo: null } }}>
        <PowchStandaloneApp />
      </PowchAppProvider>
    </AppShell>
  );
}

The shell handles init, auth, and providers. When appState === READY, it renders children.

PowchClient (Third-Party Sites)

import { PowchClient } from '@descix/app-sdk/powch-client';

const powch = new PowchClient({ bridgeUrl: 'https://powch.descix.net/' });
powch.createButton(document.getElementById('powch-button'), { toggle: true });

Dependencies

The app-sdk is self-contained. It bundles:

  • MUI (@mui/material, @mui/icons-material, @emotion/react, @emotion/styled)
  • React, Wagmi, Viem
  • PowchClient and PowchBridgeClient (postMessage protocol only)

No @powch dependencies. Apps that need Powch UI (e.g. Powch PWA) add @powch/react themselves. The app-sdk has no knowledge of Powch internals.

Dev Mode

Shared HTTPS certs and Vite config:

import { createViteServerConfig } from '@descix/app-sdk/dev';

export default defineConfig({
  server: createViteServerConfig(process.cwd(), { port: 5174, apiGatewayUrl: 'https://localhost:4000' }),
  define: {
    __STANDALONE_APP_ID__: JSON.stringify('powch'),
    __POWCH_APP_URL__: JSON.stringify('https://powch.descix.net/'),
    __API_GATEWAY_URL__: JSON.stringify('https://localhost:4000'),
  },
});

References