@fuzdev/fuz_app

中文文档
0.176.0发布于 2026/11/100BSDTypeScriptES Module零依赖近 30 天下载 8519

fullstack app library

原始使用文档
文档目录3 节
  1. Usage
  2. Contributing
  3. License

@fuzdev/fuz_app

fullstack app library 🗝 pre-alpha ⚠️ do not use in production

fuz_app is a fullstack app library for TypeScript, Svelte, SvelteKit, Hono, and PostgreSQL with PGlite for embedded targets. It provides auth, sessions, accounts, database integration, middleware, and more, the goal being an excellent and flexible whole-stack experience for developers, operators, and end-users.

fuz_app supports deploying with Node and Bun, to servers, static websites, and local-first binaries, with more to come, eventually with compatible alternatives written in Rust.

This library has no AI features by design, for that see zzz.

For more see the discussions. fuz_app is part of the Fuz stack (fuz.dev, @fuzdev).

⚠️ This is a pre-alpha release, not ready for production. There are no known security vulnerabilities, and security has been _the_ primary focus for the initial release, but it shouldn't be trusted until audited.

Usage

npm i -D @fuzdev/fuz_app

Some projects using fuz_app are in progress and will be open source soon. Usage currently looks something like this:

import {serve} from '@hono/node-server';
import {create_app_backend} from '@fuzdev/fuz_app/server/app_backend.ts';
import {create_app_server} from '@fuzdev/fuz_app/server/app_server.ts';

const backend = await create_app_backend({...});

const {app} = await create_app_server({backend, ...});

serve({fetch: app.fetch, port: PORT, hostname: HOST});

See CLAUDE.md for more usage patterns and the AI-generated docs, and the fuz-stack skill for coding conventions shared across the Fuz stack.

Contributing

fuz.dev/contributing

License

0BSD

版本与发布记录

@fuzdev/fuz_app 共发布 203 个版本,首次发布于 2026/03/22;过去 12 个月发布了 203 个版本。

版本发布日期距今
0.176.0latest2026/11/105 天前
0.175.02026/11/096 天前
0.174.02026/11/087 天前
0.173.02026/11/088 天前
0.172.02026/11/088 天前
0.171.02026/11/078 天前

关于 @fuzdev/fuz_app 的常见问题

@fuzdev/fuz_app 是什么?

fullstack app library

如何安装 @fuzdev/fuz_app?

在项目目录运行 npm install @fuzdev/fuz_app,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:svelte(^5)、@sveltejs/kit(^3)、@fuzdev/fuz_util(>=0.81.0)、@fuzdev/fuz_schema(^0.5.6)、@fuzdev/blake3-wasm(>=0.2.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@fuzdev/fuz_app 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@fuzdev/fuz_app 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@fuzdev/fuz_app 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24.14。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@fuzdev/fuz_app 可以商用吗?

@fuzdev/fuz_app 使用 0BSD 许可。几乎没有限制:可自由使用、修改和分发,连保留版权声明也不要求。以上为概括,不构成法律意见,请以许可原文为准。

@fuzdev/fuz_app 的下载量有多少?

根据 npm 官方下载统计,@fuzdev/fuz_app 在 2026/10/16 – 2026/11/14 这 30 天内被下载 8,519 次,日均约 284 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@fuzdev/fuz_app 还在维护吗?

最新版本 0.176.0 发布于 2026/11/10(5 天前);至今共发布 203 个版本,其中过去 12 个月发布了 203 个;首次发布于 2026/03/22。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。