Перейти к содержимому
HomeGuides & TutorialsStarting a new project: package.json, README and .gitignore

Starting a new project: package.json, README and .gitignore

Reading time: 1 min

How to quickly create package.json, README and .gitignore for a new project: free generators build the files from a form — no manual editing.

Starting a new project isn't just about code: before the first commit you need a package.json file, a README and a .gitignore so dependencies and local settings don't end up in the repository. Filling these in manually takes time, and a typo in package.json can break dependency installation.

Step 1: package.json

package.json Generator builds the file through a form: project name, version, scripts (start, build, test), dependencies and license — no manual JSON editing or the risk of a stray comma. Download the finished file and place it in the project root.

Step 2: README

README Generator creates a structured README.md in a minute: project description, install and run instructions, usage examples, sections for the license and contributors. A good README is the first thing people see on your repository page, so it's worth preparing from the start.

Step 3: .gitignore

The .gitignore Generator builds a file for your stack — Node.js, Python, Java or several technologies at once. It adds the typical exclusions: node_modules, environments, logs and IDE folders.

Tip

Follow the order package.json → README → .gitignore and make the first commit once all three files are ready. If you add .gitignore later, already-committed node_modules folders will have to be cleaned out manually.

Important: all files are processed in the browser and never sent to a server — safe for confidential images.