npm is awesome since the a deal director. Specifically, they handles sub-dependencies perfectly: when the my plan utilizes request adaptation 2 and several-other-library , but some-other-library depends on demand variation 1, the new ensuing reliance graph turns out:
This really is, basically, great: http://www.datingranking.net/navy-seals-dating now some-other-library features its own copy out-of consult v1 that it could explore, while not interfering with my personal package’s v2 content. Everyone’s password really works!
The situation: Plugins
A plugin bundle is intended to be taken which have various other “host” package, even though it cannot usually in person use the servers package. There are numerous types of so it development on the Node.js package environment already:
- Grunt plugins
- Chai plugins
- LevelUP plugins
- Express middleware
- Winston transports
Even if you’re not familiar with any of those use cases, surely you recall “jQuery plugins” from back when you were a client-side developer: little