Neocon Propaganda Machine
Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

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

Install

npm i seaport-autopilot

DownloadsWeekly Downloads

0

Version

1.1.1

License

BSD-3-Clause

Last publish

Collaborators

  • avatar