Yarn, the better NPM?
- Can be used as substitute of NPM, it uses the
package.jsonand the NPM registry
- Creates a
.lockfile with the actual installed versions of the dependencies to ensure the next install will use the same
- Performance, especially if there are already things cached
- Some packages needs a flatten structure (e.g.
- It doesn’t execute
- Flatten most dependencies, keep the tree structure only for different dependency versions. Can broken things which expect tree structure (e.g.
.lock file can make a difference by simplifying the deployment workflow and make it more stable and the disadvantages are more edge cases.
So it can be worth it to have a look at it, but its not the next big thing makes all smart until now.