MIkroNode v1.0.0

I’ve forked the original mikronode package and made a bunch of updates. I’ve been trying to get the updates merged into the original source but no luck so far so I’ve published it separately for now.

I’ve done a ton of testing with my own network management backend stuff but I’m sure there are more bugs to find so feedback is welcomed.

npm -i @f5eng/mikronode
npmjs: https://www.npmjs.com/package/@f5eng/mikronode
github: https://github.com/f5eng/mikronode.git Branch 1.X.X
docs: http://f5eng.github.io/mikronode/

1.0.0 - Refactor and add Promise support

The basic logic is the same but there are LOTS of structural
changes so this version is NOT ABI compatable with the previous
versions.

  • Fixed bugs
  • Changed the entry point to require(‘mikronode’).getConnection()
  • Moved closeOn* methods to properties.
  • Refactored methods to prototype.
  • Hid most internal properties using the ‘private-parts’ package.
  • Added Promises for connection and channel.
  • Changed debugging output to use the ‘debug’ package.
  • Added lots of JSDocs.
  • Added tests
  • Updated the examples to show Promise usage.