百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

type-gymnastics

> 编程语言
开源

收集精彩的 TypeScript 类体操代码片段。

384 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

收集精彩的 TypeScript 类体操代码片段。

Overview List

  • Better querySelector by Pig Fang - More intelligent querySelector by parsing your given CSS selector. Also refer to a formal project: typed-query-selector.
  • C-printf Parser by Pig Fang - Parse placeholders like %d and %s for a printf format string.
  • Integers Comparator by Pig Fang - Compare two integers that can be positive or negative or zero.
  • Query String Parser by Pig Fang - Parse URL query string into an object literal type.
  • Spec-compliant HTML Parser by Pig Fang - An HTML parser conforms WHATWG HTML Standard (may not be fully).
  • Tuple Slice by Pig Fang - Array#slice implementation at type level.
  • URL Parser by Pig Fang - Parse a URL into an object literal type with each component of the URL.
  • Pinia by Pig Fang - Type-level function which is similar to Pinia.

View Source Code

All the source code are under src directory.

It's recommended to view them locally with these steps:

  1. Make sure you've installed Git, Node.js and Visual Studio Code.
  2. Clone this repository with Git.
  3. Run npm i or yarn to install TypeScript.
  4. Open this repository in Visual Studio Code.
  5. Enjoy it!

Contributing

Create a new empty directory under src directory and give it a descriptive and short name, then put your source code in it. Also, please consider adding some tests.

Optionally, you can put a readme in that directory to introduce your code in detail.

Last, please update the "Overview List" section of this readme to add a new item for your code with brief.

We assume your code published under MIT License.

Related

  • Type Challenges

License

MIT License

Logo is modified from Picture Day 5 Gymnastics (19 Aug 2010). "Day 5 Gymnastics (19 Aug 2010)" by Singapore 2010 Youth Olympic Games is licensed with CC BY-NC 2.0.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言