跳到正文

正在自动登录…

← 返回项目列表

oxc-project/tsrs

类型检查

tsrs 是一个用 Rust 编写的 TypeScript 7 编译器与语言服务器的替代实现,旨在提供更低的资源占用和更快的类型检查速度,适用于需要高效类型检查的 TypeScript 项目。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/21 06:56:28 · 查看原文

值得看Rust应用与服务
累计 Stars
1,884
当前热度
7~30 天 · 小火
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/10/21 06:56:28

使用方式

通过命令行使用,例如运行 `tsrs --noEmit` 进行类型检查,也支持浏览器在线试用。

查看 README 依据
# `tsrs` [![npm](https://img.shields.io/npm/v/tsrs)](https://www.npmjs.com/package/tsrs) [![license](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/oxc-project/tsrs/blob/main/LICENSE) `tsrs` is a drop-in replacement for the TypeScript 7 compiler and language server, written in Rust. Our goal is 100% conformance, with much lower memory use and faster type checking. [Read the announcement](https://blog.cloudflare.com/typescript-rust-port/). ## Get started ```sh pnpm add -D tsrs pnpm exec tsrs --noEmit ```
You can try `tsrs` today and give us feedback on performance, memory usage, and conformance. Try checking and emitting code in the [browser playground](https://tsrs-playground.void.app). ## Conformance `tsrs` currently targets the main branch of [microsoft/TypeScript](https://github.com/microsoft/typescript). We aim to release a stable version against TypeScript 7.1 with 100% conformance. In our testing on existing projects, we have yet to find a correctness bug in `tsrs`. There are known order issues: the pinned Go compiler can produce different diagnostics and traces depending on
已知限制

目前不支持 `--init` 和 `--showConfig` 命令,且存在已知的诊断顺序问题。

查看 README 依据
parallel parse, resolution, and check order, while `tsrs` canonicalizes some checker history by default. For the closest comparison, use `--checkerAssignment go --noLazyMembers`; tsgo parser and resolver races can still vary between runs. `--init` and `--showConfig` are not supported. See [compatibility and evidence](https://github.com/oxc-project/tsrs/blob/main/docs/COMPATIBILITY.md) for supported features and known gaps. <a href="https://github.com/oxc-project/tsrs/blob/main/bench/RESULTS.md"> <picture>

README

正在加载 README…

收录信息

仓库创建时间
2026/10/1 23:14:18
首次达标收录
2026/10/21 06:51:40
统计更新时间
2026/10/22 19:20:31

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.0 / 5

新颖度
4.0
实用价值
4.5
成熟度
4.1
实质含量
3.5

由 Jev 模型根据仓库描述与 README 评估,2026/10/21 06:51:40 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/22 19:20:03
许可证标识
Apache-2.0
Fork 数
35
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目