Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

heroku-cli-util

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku-cli-util - npm Package Compare versions

Comparing version 1.5.0 to 1.7.0

columnify.js

5

cli.js

@@ -0,3 +1,8 @@

var errors = require('./errors');
exports.run = require('./run');
exports.log = console.log;
exports.formatDate = require('./date').formatDate;
exports.error = errors.error;
exports.warn = errors.warn;
exports.columnify = require('./columnify');

6

package.json
{
"name": "heroku-cli-util",
"version": "1.5.0",
"version": "1.7.0",
"description": "Set of helpful CLI utilities",

@@ -24,3 +24,7 @@ "main": "cli.js",

"netrc": "*"
},
"dependencies": {
"chalk": "^1.0.0",
"columnify": "^1.4.1"
}
}

@@ -14,2 +14,32 @@ # heroku-cli-util

## Errors (display in red)
```js
var h = require('heroku-cli-util');
h.error("App not found");
// ! App not found
```
## Warnings (display in yellow)
```js
var h = require('heroku-cli-util');
h.warn("App not found");
// ! App not found
```
## Tables/Columns
```js
var h = require('heroku-cli-util');
h.columnify({
'Dynos': 1,
'Region': 'us',
'Stack': 'cedar-14'
});
// Dynos 1
// Region us
// Stack cedar-14
```
## Dates

@@ -20,3 +50,4 @@

var d = new Date();
console.log(h.formatDate(d)); // 2001-01-01T08:00:00.000Z
console.log(h.formatDate(d));
// 2001-01-01T08:00:00.000Z
```

@@ -23,0 +54,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc