---
title: "Discussion on \"Package.json VS package-lock.json\" | Hashnode"
description: "Discussion on \"Package.json VS package-lock.json\". Package.json\nfirstly, the package.json file is used to specify the metadata and dependencies of any project.\ncommon fields in package.json\nname - contains the name of the package.\nversion - contains the version number of the package.\ndescription - co..."
url: "https://hashnode.com/posts/packagejson-vs-package-lockjson/6443bd836019c0a438054362"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Package.json VS package-lock.json](https://supreeth.hashnode.dev/packagejson-vs-package-lockjson?utm_source=hashnode&utm_medium=feed)

Package.json firstly, the package.json file is used to specify the metadata and dependencies of any project. common fields in package.json name - contains the name of the package. version - contains the version number of the package. description - co...

Apr 22, 2023 · 4 min read · supreeth.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#package](https://hashnode.com/tag/package)
-   [#package-manager](https://hashnode.com/tag/package-manager)
-   [#npm](https://hashnode.com/tag/npm)
-   [#yarn](https://hashnode.com/tag/yarn)

## Written by

[Supreeth Nayak](https://hashnode.com/@SupreethNayak)

@SupreethNayak

  
[View profile](https://hashnode.com/@SupreethNayak)

MERN developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
