heroku-cli-util
Advanced tools
Comparing version 5.9.1 to 5.9.2
@@ -35,1 +35,2 @@ 'use strict'; | ||
exports.got = require('./lib/got'); | ||
exports.linewrap = require('./lib/linewrap'); |
{ | ||
"name": "heroku-cli-util", | ||
"version": "5.9.1", | ||
"version": "5.9.2", | ||
"description": "Set of helpful CLI utilities", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -165,2 +165,19 @@ # heroku-cli-util | ||
## Linewrap | ||
Used to indent output with wrapping around words: | ||
```js | ||
cli.log(cli.linewrap(2, 10, 'this is text is longer than 10 characters')); | ||
// Outputs: | ||
// | ||
// this | ||
// text is | ||
// longer | ||
// than 10 | ||
// characters`); | ||
``` | ||
Useful with `process.stdout.columns || 80`. | ||
## Open Web Browser | ||
@@ -167,0 +184,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68862
1707
272