Set Default setting for Author and License in npm
when we run npm init
; it create a package.json and it ask few questions and you can set author and license by setting global config using below command in your terminal
this will be added in your global .npmrc
file
now when you run npm init
it will not ask these questions
Bonus tip
to check all global config settings run below command