Calculate monthly cost on Heroku (rates updated according to the latest pricing).
$ npm install heroku-cost-calculator --save
const calculate = require('heroku-cost-calculator');
let cost = calculate(25, '2X'); // 1X, 2X, PX
$ make test
heroku-cost-calculator is released under the MIT license.