@open-spaced-repetition/binding 0.1.0
Published: 2025-11-03 11:08:02 UTC
Minor Changes
-
#237
c1d61feThanks @ishiko732! - # @open-spaced-repetition/binding v0.1.0🎉 Release the first version of the high-performance FSRS optimizer based on fsrs-rs and napi-rs.
Features
- High-Performance Parameter Optimization: Native Rust implementation for computationally intensive FSRS parameter optimization
- Multi-Platform Support: Pre-built binaries for 11 platforms:
- Windows: x64, ia32, arm64 (MSVC)
- macOS: x64, arm64 (Darwin)
- Linux: x64/arm64 (GNU/MUSL)
- Android: arm64
- WebAssembly: wasm32-wasip1-threads
- Core APIs:
computeParameters(): Optimize FSRS parameters from review historyconvertCsvToFsrsItems(): Convert CSV review logs to FSRS data formatFSRSBinding: FSRS scheduler instance for memory state calculations
Requirements
- Node.js >= 20.0.0
- For WebAssembly: Additional package manager configuration required
Limitations
- ⚠️ Beta Notice: API may change in future releases
- Cannot run in edge-runtime environments (edge-runtime does not support WASI)
Documentation
See README.md for installation instructions and usage examples.