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

@succinix/engine

v0.7.0

Published

Succinix engine as a dsh-compatible Cordis plugin: a Unix-like sandbox (real Node runtime + Lifo userland) inside a WebContainer, exposed through ctx.fs, ctx.sandbox, ctx.terminals and ctx.sessionPersistence.

Readme

@succinix/engine

English

@succinix/engine 是把 Succinix 接入 Cordis 应用的插件。它为网页应用提供浏览器内的项目工作区:可以管理文件、执行命令、创建终端会话并保存会话数据。

有什么用

你不需要自己实现文件系统、命令路由、终端和持久化。插件连接 WebContainer 后,Node、Python 和 Unix 命令会使用同一个工作区。

怎么用

安装后,先把包内资产提供为应用的静态文件:

npm install @succinix/[email protected] @deepseek-ai/cordis @webcontainer/api
mkdir -p public/engine
cp -R node_modules/@succinix/engine/assets/. public/engine/
import { Context } from '@deepseek-ai/cordis'
import engine from '@succinix/engine'
import { WebContainer } from '@webcontainer/api'

const ctx = new Context()
const fiber = ctx.plugin(engine, {
  hostJsUrl: '/engine/host.js',
  lifoCoreUrl: '/engine/lifo-core.js',
  pythonAssetsUrl: '/engine/pyodide/',
  container: { mode: 'external' },
})
await fiber

const host = ctx.get('succinix', false)!
await host.attach(await WebContainer.boot())
await host.ensureInstance('default', { executor: {} })
await host.executor.exec('npm run dev')

await host.shutdown()
await fiber.dispose()

应用内插件需要文件、命令约束、终端或会话保存时,声明:

export const inject = ['fs', 'sandbox', 'terminals', 'sessionPersistence']

ctx.get('succinix', false) 用于宿主生命周期、实例、端口和执行器管理;日常能力优先使用上述四个服务。

接入前确认

  • peer 依赖是 @deepseek-ai/cordis ^4.0.1@webcontainer/api ^1.6.4
  • 只支持 Chromium,页面必须启用 COOP/COEP。
  • 端口是浏览器预览地址,不是公网服务。

完整字段与生命周期规则见接入说明,旧版本升级见迁移说明