Package Exports
- heroku-cli-util
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (heroku-cli-util) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
heroku-cli-util
Set of helpful CLI utilities
Installation
npm install heroku-cli-util --saveErrors (display in red)
var h = require('heroku-cli-util');
h.error("App not found");
// ! App not foundWarnings (display in yellow)
var h = require('heroku-cli-util');
h.warn("App not found");
// ! App not foundTables/Columns
var h = require('heroku-cli-util');
h.columnify({
'Dynos': 1,
'Region': 'us',
'Stack': 'cedar-14'
});
// Dynos 1
// Region us
// Stack cedar-14Dates
var h = require('heroku-cli-util');
var d = new Date();
console.log(h.formatDate(d));
// 2001-01-01T08:00:00.000ZTests
npm install
npm testLicense
ISC