22 Oct 2018
·
2
min read
·
comments
For a long time, I was an opponent of monorepos. There are many popular open source contributors that have hundreds of packages on npm and each of those packages have a dedicated GitHub repository. I thought everyone does it this way, so it should...
02 Sep 2017
·
6
min read
·
comments
We introduced hooks to pnpm in version 1.12. In this article I want to write about why we think package managers (PMs) need hooks.Why would we want to hook into node_modules?When installing dependencies of a Node-project, the node_modules structur...
14 May 2017
·
5
min read
·
comments
pnpm is a package manager for Node.js.I have written an article earlier about why should we use pnpm.In this article I want to demonstrate how using pnpm helps in preventing some silly bugs.When using npm, you have access to packages that you don’...
19 Mar 2017
·
5
min read
·
comments
pnpm is an alternative package manager for Node.js.It is a drop-in replacement for npm, but faster and more efficient.How fast? 3 times faster! See benchmarks here.Why more efficient? When you install a package, we keep it in a global store on you...
01 Mar 2016
·
6
min read
·
comments
Creating a new npm module is as easy as executing the npm init command.However, writing an awesome! npm module involves more than just creating a minimal package.json file.Tests are important!An awesome npm module should have tests. It doesn’t mat...