package.json Generator

Fill in your project details and get a package.json with license, module type and common scripts.

package.json Generator

Developer Tools

Runs locally in your browser.

Generated locally in your browser — fill in the fields and copy package.json into your project.
package.json

About the package.json Generator

Every Node.js project needs a package.json manifest file that describes the project, its dependencies, and provides shortcuts for frequently used commands. You can spend a lot of time trying to remember or relearn the exact syntax of a JSON file or fight with errors when you write npm install because of wrong dependencies format.

The package.json Generator tool helps you to avoid these problems and creates a manifest file for you with a simple graphical interface.

Key Features of package.json Generator

  • PRIVACY FIRST
  • All sensitive information, such as package names and project configuration, is stored locally in your browser.
  • CUSTOMIZABLE FIELDS
  • You can edit the most important fields of your project, such as name, version, description, entry point, author, and license.
  • DEPENDENCIES MANAGER
  • You can easily add most popular libraries and tools with a click of a button. Choose between Express, React, Vue, Axios, TypeScript, Jest, Vite, Nodemon, and other popular frameworks and libraries.
  • MODULES & SCRIPTS CONFIGURATOR
  • You can configure CommonJS modules and scripts launchers for your Node.js application.
  • EXPORT TO FILE / COPY CODE
  • You can instantly copy the generated code to your clipboard or download it as a file.

How to Use package.json Generator

  1. Fill in the basic information about your project, such as name, version, description, entry point, author, and license.
  2. Choose which modules and tools you want to use in your project. You can use checkboxes to select most popular libraries and frameworks.
  3. Click the Generate button to apply your changes to the manifest file.
  4. Click Copy or Download button to save your configuration, or click Reset to start over.

package.json Generator Examples

A manifest built from a few fields. Add your dependencies afterwards.

Input
Name: demo-api
Description: Small demo service
Author: Amal
Result
{
  "name": "demo-api",
  "version": "1.0.0",
  "description": "Small demo service",
  "main": "index.js",
  "author": "Amal",
  "license": "MIT",
  "scripts": {
    "start": "node index.js",
    "test": "echo \"Error: no test specified\" && exit 1"
  }
}

package.json Generator — Frequently Asked Questions

WHAT IS THE package.json FILE?
A manifest file for Node.js projects. It contains metadata about the project, lists project dependencies, and allows you to configure commands for use with npm.
WHAT ARE THE DIFFERENCES BETWEEN dependencies AND devDependencies?
The dependencies field lists all packages required for the application to run in production, while devDependencies are auxiliary packages used only during development and testing and are not included in production.
IS THIS TOOL SECURE?
Your project configuration will never be sent to any server. This tool runs entirely in your browser and only stores information temporarily.