--- name: Add a tarball dependency --- Bun's package manager can install any publicly available tarball URL as a dependency of your project. ```sh $ bun add zod@https://registry.npmjs.org/zod/-/zod-3.21.4.tgz ``` --- Running this command will download, extract, and install the tarball to your project's `node_modules` directory. It will also add the following line to your `package.json`: ```json-diff#package.json { "dependencies": { + "zod": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz" } } ``` --- The package `"zod"` can now be imported as usual. ```ts import { z } from "zod"; ``` --- See [Docs > Package manager](/docs/cli/install) for complete documentation of Bun's package manager. ='h' onchange='this.form.submit();'> Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/inline.macro.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-11-12Fix memory leak in gzip pool + add test for gzip'd dataGravatar Jarred SUmner 7-62/+1530
2022-11-12Redo how we poll pipes (#1496)Gravatar Jarred Sumner 22-707/+1251
2022-11-11Add test that fails on linuxGravatar Jarred Sumner 7-21/+42
2022-11-112 framesGravatar Jarred Sumner 1-1/+1
2022-11-11Revert "Omit frame pointer"Gravatar Jarred Sumner 1-0/+1
2022-11-11Don't rm cachedGravatar Jarred Sumner 4-4/+0
2022-11-11try thisGravatar Jarred Sumner 4-0/+4
2022-11-11Update bun-linux-build.ymlGravatar Jarred Sumner 1-1/+0
2022-11-11try using git actionGravatar Jarred Sumner 4-7/+8
2022-11-11Remove with `git rm`Gravatar Jarred Sumner 2-8/+0