PACHAGE ,JSON config code example
Example 1: npm default init
npm config ls -l
npm config set <key> <value> -g
npm config set init-author-name "John Doe" -g
npm config set init-version "1.0.0" -g
npm config set init-license "MIT" -g
npm config get <key>
npm init -y
Example 2: what is package.json in node
All npm packages contain a file, usually in the project root, called package. json - this file holds various metadata relevant to the project. This file is used to give information to npm that allows it to identify the project as well as handle the project's dependencies.