mangojs

To infinity and beyond

npm install mangojs
3 downloads in the last week
13 downloads in the last month

Mango.js

$ npm install mangojs

Usage

var opts = {
  "projectId": "YOUR_PROJECT_ID",
  "token": "YOUR_PIVOTAL_TRACKER_API_KEY"
}

// Initialize Mango.js
var mango = new Mango(opts);

// Start a user story
mango.start("STORY_ID", callback);

// Finish a user story
mango.finish("STORY_ID", callback);

// Deliver a user story
mango.deliver("STORY_ID", callback);

// Accept a user story
mango.accept("STORY_ID", callback);

// Reject a user story
mango.reject("STORY_ID", callback);
npm loves you