0.3.2 • Published 10 years ago

heroku-dyno v0.3.2

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

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

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago