NPM-WHOAMI(3)

πŸ“¦ version 1.2.1, in nixos 26.05, nixpkgs unstable

πŸ’… npm-whoami(3) β€” like, the manual page for npm-whoami bestie ✨

okay so this is the section 3 page for npm-whoami, and yes it's short, but it's iconic in its own little way πŸŽ€


🌸 NAME 🌸

npm-whoami β€” literally just displays your npm username πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

npm.commands.whoami(args, callback)

that's the whole thing. that's the vibe. 😌


✨ DESCRIPTION ✨

So what it does is: it prints the username config to standard output 🫢 that's it, that's the function. slay.

Now, the details, and bestie I need you to listen because this is where people get caught out πŸ™ˆ

  • args is never used β€” like, it's there, it's present, it's part of the signature, and it does absolutely nothing. main character energy but no lines πŸ’€
  • callback is never called with data β€” nope, not once, not ever.
  • but args must be present or things will break 😭 no cap. so like, don't get cute and leave it out.
  • and, real talk: this function is not useful programmatically 🧚 like, if you're trying to build something on top of it, that's lowkey not the move.
fr fr, just know that it writes to stdout, it ignores its arguments, and it needs args to exist anyway. cursed? maybe. canon? absolutely. πŸ‘‘

πŸŽ€ a lil sign-off πŸŽ€

that's the whole page, bestie β€” this cutie dropped in March 2017 as part of the NPM-WHOAMI(3) manual, and yeah, it's giving vintage but it still ate πŸ’…βœ¨ 🌈 πŸ“

πŸ“¦ where this page comes from