DEV Community

Discussion on: 📦 How to publish your package on npm

mogery profile image
Gergő Móricz

yarn init? npm init?

apertureless profile image
Jakub Juszczak Author

Yeah, if you start from scratch, you should npm init :)
ButI assume, you already have a package.json

However, npm init also does not cover all important fields.