From ceb0db00fa97eb7eaaaa329b5a048e599842b53d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=97=8D+85CD?= <50108258+kwaa@users.noreply.github.com> Date: Mon, 15 Sep 2025 10:14:06 +0800 Subject: [PATCH] docs(xsschema): update --- docs/content/docs/packages-top/xsschema.mdx | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/content/docs/packages-top/xsschema.mdx b/docs/content/docs/packages-top/xsschema.mdx index ce88f0a..094f8f2 100644 --- a/docs/content/docs/packages-top/xsschema.mdx +++ b/docs/content/docs/packages-top/xsschema.mdx @@ -15,7 +15,26 @@ npm i xsschema - Actively maintained along with xsAI. - Support for up to libraries in the Standard Schema scope. -- Already used by xsAI, [xsMCP](https://github.com/moeru-ai/xsmcp), [FastMCP](https://github.com/punkpeye/fastmcp), [Airi](https://github.com/moeru-ai/airi) and others. +- Already used by xsAI (you are here), [FastMCP](https://github.com/punkpeye/fastmcp), [Airi](https://github.com/moeru-ai/airi) and others. + +### Compare + +#### `xsschema` (0.4.0-beta.3, 17KB) + +- Minimum size, ESM only. +- Detailed error message with links. +- Additional types and utils. (see below) + +#### `@standard-community/standard-json` (0.3.1, 96KB) + +- Similar to xsSchema, but larger in size. +- Supports CommonJS. + +#### `@typeschema/main` (0.14.1, 68KB) + +- Lack of maintenance, with supporting libraries remaining on outdated versions. +- Support for the most schema validators. +- Not based on the Standard Schema. ## Coverage