seaport-autopilot

1.1.1 • Public • Published

seaport-autopilot

NPM

seaport-autopilot takes care of most of the work getting you an available port, finding a seaport and staying connected to that seaport.

it makes your app more plug-n-play.

npm install seaport-autopilot

Usage

var seaportautopilot = require('seaport-autopilot')

seaportautopilot('myservicename', function (err, port, path) {
  if (err) return console.log('something serious happened, die with', err)

  // here you have a shiny new port, and will be available on an auto-connected seaport      
  // if it looses the seaport, it will auto-reconnect as well when it comes back

})

License

MIT

/seaport-autopilot/

    Package Sidebar

    Install

    npm i seaport-autopilot

    Weekly Downloads

    2

    Version

    1.1.1

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • eckoit