本页还没有译文
本页 5 段还没译成Español,下面显示的是英文原文。Add a tarball dependency
还没翻译译自英文(bun.com)本页 5 段都还没译
Bun's package manager can install any publicly available tarball URL as a dependency of your project.
bun add zod@https://registry.npmjs.org/zod/-/zod-3.21.4.tgzThis command downloads, extracts, and installs the tarball into your project's node_modules directory, and adds the following line to your package.json:
{
"dependencies": {
"zod": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz"
}
}You can now import zod as usual.
import { z } from "zod";See bun install.
AI 翻译查看英文原文