NPM and have package.json file for Prettier

Viewed 256

I am new to this and trying to install Prettier to keep my VSCode neat. I am following a help file to install prettier and the first thing it says is:

I assume you are using NPM and have package.json file inside the repository. Install Prettier

Can someone help me understand 'NPM and have package.json file inside the repository'?

1 Answers

Which technology stack you are using? If it is javascript based then in root folder open cmd and type "npm init" this will create package.json automatically.

Related