项目介绍

akheron/optics-ts 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 906 个 Star、13 次 Fork。

仓库全名
akheron/optics-ts

README 摘要

optics-ts optics-ts provides type-safe, ergonomic, polymorphic optics for TypeScript: Optics allow you to read or modify values from deeply nested data structures, while keeping all data immutable. Ergonomic: Optics are composed with method chaining, making it easy and fun! Polymorphic: When writing through the optics, you can change the data types in the nested structure. Type-safe: The compiler will type check all…

完整内容见 GitHub 原始 README 或本页 。

常见问题

optics-ts 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 906 个 Star。

optics-ts 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 optics-ts 的源码?

可以直接克隆仓库:git clone https://github.com/akheron/optics-ts.git,默认分支为 main;安装与运行步骤见仓库 README。

optics-ts 最近还在维护吗?

仓库最近一次更新为 2025年4月30日,当前有 20 个未关闭 Issue;Star 数为 906,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Type-safe, ergonomic, polymorphic optics for TypeScript

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
943
价值分
547
活跃状态
活跃

语言占比

JavaScript
Shell
TypeScript

Release