mancuoj
Follow
Better late than never.
108
Followers
6
Followings
Patron
Home
Archives
type-safe
Latest
Hottest
Most Commented
使用 Zod 安全地读取你的环境变量
用 zod 来验证环境变量,可以做到两件事: 如果缺少任何必需的环境变量,就在启动时使 app 崩溃 为环境变量添加类型定义,以便我们可以在 IDE 中获得自动完成和类型检查 直接上代码: Copy const envSchema = z.object({ SESSION…
zod
1 min
8 months ago
Ownership of this blog data is guaranteed by blockchain and smart contracts to the creator alone.
Blockchain ID
#50088
Owner
0x3825b8520654ce4e5a018e34826bc0aaffb062c8
Transaction Hash
Creation 0x284d4fad...2fa07d65be
Last Update 0x5e28f56a...22221f2767
IPFS Address
ipfs://QmfVGiBXhNY1S7sMsMRdMfFwXYw6W7RVTpZCirS35dBHPA