haibu-api (node.js)
The node.js
client for the haibu API.
Usage
Allows you to call haibu programmatically from inside your node.js scripts.
var eyes = haibu = ; // Create a new client for communicating with the haibu servervar client = host: 'localhost' port: 9002; // A basic package.json for a node.js application on haibuvar app = "user": "marak" "name": "test" "domain": "devjitsu.com" "repository": "type": "git" "url": "https://github.com/Marak/hellonode.git" "scripts": "start": "server.js" ; // Attempt to start up a new applicationclientstartapp { if err console; return eyes; console; eyes;}; clientstartapp { eyes; eyes;};
Run Tests
All of the haibu
tests are written in [vows][0], and cover all of the use cases described above.
$ npm test