Display npm username

npm.commands.whoami(args, callback)

Print the username config to standard output.

'args' is never used and callback is never called with data. 'args' must be present or things will break.

This function is not useful programmatically

Last modified June 13, 2015           Found a typo? Send a pull request!

Getting Started

Using npm

npm Enterprise

CLI Commands

Configuring npm

Using npm programmatically

npm policy documents

View All On One Page