Start Every New Project with NPM’s Init npm’s init command scaffolds out a valid package.json for your project, inferring common properties from the working directory. $ mkdir example-app $ cd example-app $ npm init --yes Run it with the --yes flag, and then open package.json to make changes. First, specify an engines key with your version of node (node -v). "engines": { "node": "20.x" } Stick wit
![Best Practices for Node.js Development | Heroku Dev Center](https://cdn-ak-scissors.b.st-hatena.com/image/square/a1b2a24fb8bb6b5daa830ba9854ce4ba0af7b021/height=288;version=1;width=512/https%3A%2F%2Fwww.herokucdn.com%2Fimages%2Fog.png)