npm get the default author

Run the following command to get the default author set on the current machine for the npm init command:

npm config get init.author.name

The command will return the default author configured for npm init command. The output will be like this:

Foo Roger