> For AI agents: the complete documentation index is available at https://open-spaced-repetition.github.io/ts-fsrs/zh-TW/llms.txt, the full documentation bundle is available at https://open-spaced-repetition.github.io/ts-fsrs/zh-TW/llms-full.txt.

# ts-fsrs

把間隔重複，組合成你需要的樣子。

> 一個用於 TypeScript 的型別安全排程框架。從開箱即用的 FSRS-7 開始，再自由組合模型、時間系統與 middleware，無須切換到另一套 API。

[開始使用](/zh-TW/guide/) | [開啟 Playground](/zh-TW/playground)

## Features

- **內建型別安全**: 同一份 Schema 同時負責執行階段驗證，以及 TypeScript 輸入與輸出型別推導。
- **組合而無須遷移**: 從預設排程器開始，在同一核心上逐步替換模型、時間系統與排程策略。
- **以惰性求值為設計原則**: 惰性預覽、依版本分割程式碼，以及支援 tree shaking 的子路徑匯出。
