-
Recently I am developing a tool to display package dependencies. The method I use is to read the node_modules folder, but this is too time-consuming. Reading the pnpm-lock.yaml file is fast, but I don’t know how to use this file, so I would like to ask whether the pnpm community has provided such a method. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The specification explain the lock file format can be found here: Also you might find https://github.com/pnpm/pnpm/tree/70b2830accacdef130112af258200ad705b57bae/lockfile/lockfile-file interesting |
Beta Was this translation helpful? Give feedback.
The specification explain the lock file format can be found here:
https://github.com/pnpm/spec/blob/master/lockfile/6.0.md
Also you might find https://github.com/pnpm/pnpm/tree/70b2830accacdef130112af258200ad705b57bae/lockfile/lockfile-file interesting