Note: The new Shipyard API wrapper for v3 is in here. This project is deprecated because of Shipyard v3 was released with new APIs.
A Shipyard v2.x.x API wrapper for Node.js
The documentation of Shipyard API
npm install shipyard.js
var ShipyardJS = require('shipyard.js');
var shipyard = new ShipyardJS('192.168.8.25:8080', 'YOUR_SERVICE_KEY');
shipyard.listContainers(function (err, results) {
if (err) {
console.log(err);
}
console.log(results);
});