try yarn add express
and npm i express
You can see the difference by yourself. Yes, I love it because it's faster but also it's easier to run scripts with yarn. You don't have to npm run dev
just yarn dev
I'm lazy; I hate to type another 3 letter wordπ
But having different lockfiles can put you in a lot of dependency issues.
So if I clone a project I'll look for the lockfile. And will use yarn and npm depending upon it.
try
yarn add express
and
npm i express
You can see the difference by yourself. Yes, I love it because it's faster but also it's easier to run scripts with yarn. You don't have to
npm run dev
just
yarn dev
I'm lazy; I hate to type another 3 letter wordπ
But having different lockfiles can put you in a lot of dependency issues.
So if I clone a project I'll look for the lockfile. And will use yarn and npm depending upon it.
So the thing is, yarn can install stuff faster.
Maybe time for me to go back to yarn, then!