package.json package (project) description file
contains a lot of information used to describe the current project (eg project name of the version number, etc.)
Metadata: Data described in example itself: Profile class attribute parameters in the database table structure (how many rows list of field names)
Create a file package.json npm init, npm init -y, npm init -yes
package.json file common items:
name name of the package
verson version of the package
description package description
of the author package
package main entrance js file js file specifies which started from the main field where
other packages dependencies of the current package depends on
name, verson must otherwise be an illegal package.json files can not be uploaded to npm