DEV Community

Discussion on: NPM or Yarn? Find the right package manager for you

Collapse
 
ashr1 profile image
Ash

Have you ever tried pnpm?
It's amazingly quicker over npm/yarn, but it defaults not to "hoist".

Collapse
 
harshhhdev profile image
Harsh Singh • Edited

I have heard about it yes. The reason I didn't include it was because nobody really uses it, to be honest.

But I have heard of it yep, and I've heard primarily good things about it too :)

Collapse
 
xeho91 profile image
xeho91

"... it was because nobody really uses it..."

npmjs.com/package/pnpm

"Weekly Downloads: 101,350"

...

Thread Thread
 
harshhhdev profile image
Harsh Singh

That's still much lower than with Yarn or NPM. Yarn 1 or NPM have advantages such as community adoption which at the moment PNPM does not.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

I was a PNPM convert for a while, and now I am back to Yarn 1.

  • No need to clean cache
  • No need for shamefully-hoist=true
  • Better support

And yes, NPM sucks (never tried NPM 7, though).

Collapse
 
harshhhdev profile image
Harsh Singh

Agreed, Yarn 1 still is advantent over PNPM. It depends on what you need though, at the end of the day.