3.1.0 • Published 8 years ago

swarmerode v3.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

swarmerode

Build Status Test Coverage Dependency Status devDependency Status js-standard-style

Swarmerode is a tool to extend dockerode with nice swarm helper functions.

Example

var Swarmerode = require('swarmerode')
var Dockerode = require('dockerode')

// extend Dockerode w/ Swarm functions.
Dockerode = Swarmerode(Dockerode)

var swarmClient = new Dockerode(/* opts */)
swarmClient.swarmHostExists('10.0.0.1:2375', function (err, hostExists) {
  if (err) { throw err }
  console.log(
    hostExists
      ? 'The given host exists!'
      : 'The given host was not found.'
  )
})
3.1.0

8 years ago

3.0.0

8 years ago

2.2.4-0

8 years ago

2.2.3

8 years ago

2.2.3-0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago