Skip to main content
DevTools24

package.json जनरेटर

package.json जनरेट करें।

echo '{}' > package.json
# Then paste generated content, or:
npm init -y

package.json - तकनीकी विवरण

package.json is the manifest file for Node.js projects. It contains project metadata, scripts for automation, dependencies, and configuration. Required fields are name and version. Common scripts include start, build, test, and dev.

कमांड-लाइन विकल्प

# Initialize package.json\nnpm init -y\n\n# Add dependencies\nnpm install express\nnpm install -D typescript

संदर्भ

आधिकारिक स्पेसिफिकेशन देखें