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

@rynt/sdk

v0.9.53

Published

Rynt Launcher SDK — UI kit, extension runtime, and host APIs

Readme

@rynt/sdk

Официальный SDK для Rynt Launcher: UI-кит, типы, runtime расширений и API хоста.

Документация: https://docs.rynt.space
Сборка расширений: @rynt/extension-build
Создать проект: @rynt/create-extension


Установка

npm install @rynt/sdk
# peer: vue ^3.5, vue-router ^4.6 (router опционален)

Для авторов расширений обычно ставят SDK вместе с пресетом Vite:

npm install -D @rynt/sdk @rynt/extension-build vite vue @vitejs/plugin-vue typescript vue-tsc

Быстрый старт проекта — create-extension или Hello World в документации.


Экспорты

| Subpath | Назначение | |---------|------------| | @rynt/sdk | UI-компоненты, типы сущностей, утилиты | | @rynt/sdk/extension | defineRyntExtension, реестры, useModel, лоадеры, entity-виджеты | | @rynt/sdk/extension-marketplace | HTTP-клиент и типы REST каталога расширений | | @rynt/sdk/extension-expose-map | Module augmentation для useExtensionExpose | | @rynt/sdk/extension-registry-payload-map | Module augmentation для типов реестров | | @rynt/sdk/extension/registries | Низкоуровневый доступ к реестрам | | @rynt/sdk/session | Токен сессии для API | | @rynt/sdk/host | API хоста лаунчера (модели, загрузка расширений) | | @rynt/sdk/tiptap | TipTap-типы, согласованные с редактором лаунчера |

Подробный обзор: SDK в документации.


Пример: расширение

import { markRaw } from 'vue';
import {
  defineRyntExtension,
  resolvedNavigationPath,
} from '@rynt/sdk/extension';

import HelloPage from './HelloPage.vue';

const EXTENSION_ID = '@acme/hello-world';

export default defineRyntExtension((ctx) => {
  const routePath = resolvedNavigationPath(EXTENSION_ID, 'hello');

  ctx.registerRegistryEntry({
    registryId: 'core.page',
    key: 'hello',
    value: {
      path: 'hello',
      title: 'Hello',
      component: markRaw(HelloPage),
      resolvedRoutePath: routePath,
    },
  });

  ctx.registerRegistryEntry({
    registryId: 'core.nav',
    key: 'hello',
    value: {
      link: routePath,
      label: 'Hello',
      icon: 'home',
    },
  });
});

Сборка и манифест — в @rynt/extension-build.


UI в расширении

Компоненты из корневого пакета подключаются через host-shim при сборке (см. extension-build):

<script setup lang="ts">
import { Button, Block, Text } from '@rynt/sdk';
</script>

Справочник компонентов: UI-кит.


Типизация между расширениями

Для useExtensionExpose и кастомных реестров используйте module augmentation — типизация контрактов.


Требования

  • Node.js ≥ 20 (для CLI и современного tooling)
  • Rynt Launcher с поддержкой Extension API 1 (extensionApi: "1" в манифесте)
  • Vue 3.5+ в runtime лаунчера (в бандл расширения Vue не дублируется — один экземпляр с хоста)

См. также