Remarks

You can create package.json with

npm init

which will ask you about basic facts about your projects, including license identifier.