heroku-dyno

0.3.2 • Public • Published

Heroky Dyno

Unbaffled heroku dyno management.

Features

  • Promise and callback interface;
  • Simple API.

Quick start

var Dyno = require('heroku-dyno');
 
var dyno = new Dyno({
  token: 'abcdfe1234567890',
  app: 'my-heroku-app',
  command: 'node process.js --arg=1',
  size: '2X'
});
 
dyno.scale(1)
  .then(function () {
    // 1 process running
  })
  .catch(function (err) {
    console.error(err);
  });

For further information on how to use this library please refer to the API docs.

Installation

$ npm install heroku-dyno

Requirements

  • Node.js 0.8+

Contribute

Source code contributions are most welcome. The following rules apply:

  1. JavaScript source code needs to follow the Airbnb Style Guide;
  2. Functions need to be well documented in API docs;
  3. Unit tests are necessary.

Support

If you are having issues with this library, please let us know.

License

MIT

Package Sidebar

Install

npm i heroku-dyno

Weekly Downloads

5

Version

0.3.2

License

MIT

Last publish

Collaborators

  • jmike