mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
* Add ecosystem guides * Update titles * Rename stric * Add unlink and fetch guides * Add formdata guide * Tweak title * Moar
440 B
440 B
name
| name |
|---|
| Add a development dependency |
To add an npm package as a development dependency, use bun add --development.
$ bun add zod --development
$ bun add zod -d # shorthand
This will add the package to devDependencies in package.json.
{
"devDependencies": {
+ "zod": "^3.0.0"
}
}
See Docs > Package manager for complete documentation of Bun's package manager.