docs(xsschema): update

This commit is contained in:
藍+85CD committed 2025-09-15 10:14:06 +08:00
1 parent 387b9986e7
commit ceb0db00fa
1 file changed
+20 -1
+20 -1
View File
@@ -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