There’s that have fun with situation in which this falls off, however: plugins

There’s that have fun with situation in which this falls off, however: plugins

npm rocks ! as the a deal movie director. Specifically, it handles sandwich-dependencies perfectly: in the event the my personal package utilizes request type 2 and many-other-collection , many-other-collection utilizes consult adaptation 1, this new resulting dependence graph works out:

This really is, generally, great: today specific-other-collection has its own backup from demand v1 it can easily play with, while not preventing my personal package’s v2 copy. Everybody’s password performs!

The problem: Plugins

A plugin package is intended to be studied that have some other “host” bundle, while it cannot always myself make use of the servers bundle. There are many different samples of it development regarding Node.js plan environment already:

  • Grunt plugins
  • Chai plugins
  • LevelUP plugins
  • Display middleware
  • Winston transfers

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