Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
npmライブラリを自作して、感じたこと
Search
N Akita
November 14, 2025
84
0
Share
npmライブラリを自作して、感じたこと
N Akita
November 14, 2025
More Decks by N Akita
See All by N Akita
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
680
TypeSciprt + Express + Prisma + Node.js API開発
nakita628
0
31
Featured
See All Featured
Evolving SEO for Evolving Search Engines
ryanjones
0
200
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
370
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
63
How STYLIGHT went responsive
nonsquared
100
6.1k
Writing Fast Ruby
sferik
630
63k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
360
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
200
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
150
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Test your architecture with Archunit
thirion
1
2.2k
Transcript
npm ライブラリを自作して、感 じたこと N Akita
About Me Hono が、プログラム人生の8 割 Dvorak 歴は、7 割 YAPC は、4
回目の参加
Other Perl Mojolicious Mojolicious::Plugin::OpenAPI Poz Go oapi-codegen ogen OpenAPI やスキーマを基準にするのが好み
Hono Takibi OpenAPI 、TypeSpec から、Zod OpenAPI Hono を生成するライブラリ
Development Background Zod OpenAPI Hono の登場 OpenAPI からZod OpenAPI Hono
の変換ライブラリがなかった Zodios やopenapi-zod-client などのライブラリを参考 OpenAPI → Zodios OpenAPI openapi-zod-client Zodios
Usage OpenAPI → Zod OpenAPI Hono OpenAPI Hono Takibi Zod
OpenAPI Hono npm i -D hono-takibi npx hono-takibi openapi.yaml -o output.ts
What I Gained from Developing This GitHub 🌟 Hono Conference
2025 LT 採択 様々な、npm ライブラリに興味を持つようになった
Zod3 → Zod4 例 uuid email 公開して、数ヶ月後、ZodV4 の発表 z.string().uuid(); //
↓ z.uuid(); z.string().email(); // ↓ z.email();
Library Name hono-openapi-codegen openapi-to-hono oas-to-hono hono-oas-gen hono-gen あることをきっかけに、hono-takibi に決定 ライブラリ名にすごく悩んだこと
Icon アイコンができるまでの過程(私が作成したわけではない)
Perfection Has No End openapi-fetch-gen (TypeScript のAPI クライアントを自動生成するツール) orval (React
Query 、SWR 、Other… のコードを自動生成するツール) 機能を追加を考えると終わりがないこと、でも追加するのは楽しいこと
None
Summary ライブラリ名 アイコン 機能追加 README.md メンテナンス ライブラリ開発は、コードを書く以外にも、色々と考えることがある
Getting Started with Hono Takibi 🔥