WASM-PACK(1)
β¨ WASM-PACK(1) β the wasm-pack pack glow-up β¨
okay bestie, so this is wasm-pack, from the User Commands section of the manual (that's section 1, iykyk), and specifically we're talking about the pack subcommand. it's giving tar-maker, it's giving npm-package-but-make-it-a-file, and honestly? iconic.
π NAME π
wasm-pack pack β ???? create a tar of your npm package but don't publish!
like. it bundles your npm package into a tar for you and then just does not publish it. no cap. the "????" is literally in the original, I'm not making that up, she said what she said π«Ά
πΈ SYNOPSIS πΈ
wasm-pack pack [OPTIONS] [PATH]
that's it. that's the whole vibe. options, optional path, go π
π¦ DESCRIPTION π¦
???? create a tar of your npm package but don't publish!
fr fr. this makes the tarball and then stops right there β no upload, no publish, no "oops I pushed to prod". just a lil tar for you and your besties to inspect. π
π Arguments:
- <italic>[PATH]_ β the path to the Rust crate. If not set, searches up the path from the current directory. so like, it'll walk up from wherever you are til it finds your crate, main character energy honestly π
β OPTIONS β
-d,--pkg-dir <PKG_DIRECTORY>β the name of the output directory where the npm package is stored. the default ispkg, so if you don't say anything it's gonna be over there inpkg/looking all cute. β¨-h,--helpβ print help. the classic. the beloved. the "wait what were the flags again" lifesaver π
π warnings & asides π
not me having to say this but: there are genuinely no warnings in this page. it's short, it's sweet, it's a pack command. blessed. π
π SEE ALSO π
hmm, bestie, the original didn't actually list any SEE ALSO references. so I have nothing to hand you here, and I'm not about to invent one β that would be a technical claim I can't back up and we don't do that in this group chat. π§
π AUTHOR / COPYRIGHT / LICENSE π
ngl the original page didn't include author, copyright, or license lines either, so I'm keeping it 100 and not making any up. what you see is what's in the page. periodt. π
and that's the whole page! π
sign-off time: this beauty is wasm-pack pack version 0.15.0+ds, dated June 2026, and yeah β that's the version and date straight from the footer, no edits, no notes, just facts. go make that tar, bestie, and do not publish it. π«Άππ₯
π¦ where this page comes from
- ubuntu stonking: wasm-pack 0.15.0+ds-2 Β· Apache-2.0 OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms