Menu

How to Use pnpm on Heroku
📰
0

How to Use pnpm on Heroku

Heroku·Colin Casey·about 1 month ago
#gfdDlsbx
Reading 0:00
15s threshold

What is pnpm? Pnpm is a fast, disk-efficient Node package manager used as an alternative to npm. The Heroku Node.js buildpack now supports pnpm . Early Node.js application owners who’ve taken advantage of pnpm support have seen 10-40% faster install times compared to NPM on Heroku deployments. It’s an excellent choice for managing packages in the Node.js ecosystem because it: Minimizes disk space with its content-addressable package store. Speeds up installation by weaving together the resolve, fetch, and linking stages of dependency installation. This post will introduce you to some of the benefits of the pnpm package manager and walk you through creating and deploying a sample application. pnpm vs npm Unlike npm, which installs duplicate copies of packages across projects, pnpm uses a content-addressable store and symlinks to save disk space and boost install speeds by ensuring dependencies aren’t redundantly stored.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More