WASM-PACK(1)

πŸ“¦ version 0.15.0, in ubuntu stonking

✨ 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 is pkg, so if you don't say anything it's gonna be over there in pkg/ 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. 🧚


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