1.0.1 • Published 9 years ago

appherd-client v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

appherd-client

Service client to interact with appherd

Usage

let client = new AppHerdClient(port)
client.fetchHerd()
.then(() => {
  var port = client.port('service-name')
  var url = client.url('service-name') // http://localhost:port

  client.fetch('service-name', '/absolute/path')
  // returns fetch('http://localhost:port/absolute/path')
1.0.1

9 years ago

1.0.0

9 years ago