Recommendation - PNPM, the fastest NPM replacement system
It’s the fastest NPM ever. It’s been a while since I found out, but I haven’t really applied it.
Key features include:
Speed- 3x faster than NPM. It’s faster than Yarn.Saving Capacity- Even with multiple projects, all node_modules’ actual files are shared.Module Added Speed- Faster when adding individual module dependencies to a project. I love it.Comfort- Just replace npm with pnpm for use!
Speed
Benchmarks results are not comparable to NPMs and are faster than Yarn, sometimes similar or comparable.
Saving Storage Capacity
Multiple projects share the actual contents of node_modules. Hard drives are a huge savings. If you have 30 projects and you have 300 MB of node_modules per project, it’s 9GB. Because pnpm solves the actual file contents in node_modules with hard links, using pnpm will result in 9GB of 300MB.
Fast Module Added Speed
Install all modules speed is also speed, but Speed really fast when adding individual modules. Especially adding the cached already modules is too fast. Whenever I’ve been waiting for a long time since I ordered the npm install any module.
Convenience
It’s not difficult to apply to a project. First, install the pnpm.
npm i -g pnpm
Creates a new node_modules folder.
rm -rf node_modules
pnpm i
Personally, I liked the saving storage capacity and Fast module added speed.
The fact that server storage was wasted because of unnecessary duplication of node_modules folder capacity was heartbreaking… (I wanted to save server hosting money……)
Every time I added a module dependency, I had to drink a cup of forced coffee and suffer from insomnia that I couldn’t sleep in the evening because of caffeine.
And finally, there are no disadvantages of introducing pnpm. Hu…
Save your life with pnpm.