npm install shipit-utils```
npm install --save shipit-utils
`js`
var utils = require('shipit-utils');
Returns the Shipit object, regardless of your context (Grunt or Shipit).
`js`
var shipit = utils.getShipit(gruntOrShipit);
The description arguement is optional, and will only try to pass along a task description if you are using Grunt (it will be ignored if you are using Shipit).
##### task Fn|Array
Task function or array of task names to run in order. Note: If in a Grunt context and passing an array of task names, task will always be synchronous/blocking.
#### Examples
`js
var task = function() {
return shipit.local('sleep 10s');
};
// Register a (blocking) task
utils.registerTask(gruntOrShipit, 'myTask', task);
// Run a series of tasks in order
utils.registerTask(gruntOrShipit, 'myTask', ['some', 'other', 'tasks']);
`
##### task String|Array
##### values Array`
MIT