how to generate a package.json file code example Example: create package json //create a custom one npm init //create a default one npm init --yes