Run the below command to set the default author for all your upcoming npm init command:
npm config set init.author.name "<Your Display Name>"
Example:
npm config set init.author.name "Foo Smith"
Run the below command to set the default author for all your upcoming npm init command:
npm config set init.author.name "<Your Display Name>"
Example:
npm config set init.author.name "Foo Smith"