pnpm import

Category: Node.js & npm/yarn

pnpm import

Convert package-lock.json into pnpm-lock.yaml

Reads an npm package-lock.json or npm-shrinkwrap.json and generates the equivalent pnpm-lock.yaml, smoothing the migration from npm. The converted lockfile is a starting point, so run pnpm install to reconcile it. Deleting the old lockfile afterwards prevents confusion.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.