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
83
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
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.2k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
320
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
200
The Mindset for Success: Future Career Progression
greggifford
PRO
0
330
Believing is Seeing
oripsolob
1
120
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Building the Perfect Custom Keyboard
takai
2
750
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Agile that works and the tools we love
rasmusluckow
331
21k
Rails Girls Zürich Keynote
gr2m
96
14k
WENDY [Excerpt]
tessaabrams
10
37k
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 🔥