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

@sentryos/create-sentryos

v0.1.1

Published

SentryOS CLI scaffold for creating TypeScript plugin and app development environments.

Readme

create-sentryos

開發工具:快速建立 SentryOS TypeScript plugin / app 開發環境,並同時產生型別定義檔案。

直接使用命令建立範本

不用先安裝也能執行:

npx @sentryos/create-sentryos plugin my-plugin
npx @sentryos/create-sentryos app my-app

如果已經安裝過套件,可直接使用:

create-sentryos plugin my-plugin
create-sentryos app my-app

Plugin 開發範本

建立後會產生以下結構:

  • package.json
  • tsconfig.json
  • src/plugin.ts
  • types/sentryos-plugin.d.ts
  • README.md

此插件範本不會產生 plugin.json,因為該檔案不是必要的。

範本使用 TypeScript,並提供 build 指令產生單一輸出檔案:

npm install
npm run build

輸出檔案:

  • dist/plugin.bundle.js

App 開發範本

建立後會產生以下結構:

  • package.json
  • tsconfig.json
  • manifest.json
  • src/main.ts
  • types/sentryos-plugin.d.ts
  • README.md

App 範本採用 TypeScript,並且入口會直接以整份編譯後的 dist/main.js 執行,無須 export default

App 必須透過 globalThis 註冊回呼,例如 onFileOpenonWindowEvent,因為系統會直接在執行環境中呼叫這些全域函式。

npm install
npm run build

輸出檔案:

  • dist/main.js

型別定義

插件與 App 範本都會包含 types/sentryos-plugin.d.ts,可直接參考 SentryPluginPluginContext 型別。

import type { SentryPlugin } from './types/sentryos-plugin';

進階打包

如果你想使用 create-sentryos 的內建打包腳本,請在套件目錄執行:

npm install
npm run bundle-plugin -- src/plugin.ts dist/plugin.bundle.js

但通常開發者只要在產生的 plugin 專案中執行 npm run build 即可。