Wizcorp/node-pivotal — pull request #22 by MRdNk (2013-06-09 11:02:07+00:00)
Title: Added toArray factory function & isEmptyObject check function

This could then be used like this...

```javascript
pivotal.getStories = function (projectId, filters, cb) {
pivotal.apiCall("GET", ["projects", projectId, "stories"], filters, null, null, function (err, data) {
if (err) {
cb(err)
} else {
cb(null, pivotal.toArray(data, 'story'))
}
});
};
```