V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
AirCloud

分享一个根据 Typescript 文件自动生成 fastify 框架的 json schema 的工具

  •  
  •   AirCloud · Feb 12, 2022 · 1972 views
    This topic created in 1535 days ago, the information mentioned may be changed or developed.

    分享一个根据 Typescript 文件自动生成 fastify 框架的 json schema 的工具,也可以用于其他任何 JSON schema 序列化的场景

    目的是利用现有的资源(开发过程编写的 Typescript 文件),在编译和开发阶段尽可能提高运行时性能,同时这个过程并没有额外的开发负担。

    github: https://github.com/aircloud/fst-json/blob/master/README.zh-cn.md

    知乎: https://zhuanlan.zhihu.com/p/466572196

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2613 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 15:57 · PVG 23:57 · LAX 08:57 · JFK 11:57
    ♥ Do have faith in what you're doing.