cli-columns
Advanced tools
Comparing version 3.1.1 to 3.1.2
{ | ||
"name": "cli-columns", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Columnated lists for the CLI.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -14,12 +14,12 @@ # `cli-columns` | ||
```js | ||
var chalk = require('chalk'); | ||
var columns = require('cli-columns'); | ||
const chalk = require('chalk'); | ||
const columns = require('.'); | ||
var values = [ | ||
'foo', 'bar', 'baz', | ||
chalk.cyan('嶜憃撊') + ' 噾噿嚁', | ||
const values = [ | ||
'blue' + chalk.bgBlue('berry'), | ||
'笔菠萝' + chalk.yellow('苹果笔'), | ||
chalk.red('apple'), 'pomegranate', | ||
'durian', chalk.green('star fruit'), | ||
'apricot', 'banana pineapple' | ||
'パイナップル', 'apricot', 'banana', | ||
'pineapple', chalk.bgRed.yellow('orange') | ||
]; | ||
@@ -30,3 +30,3 @@ | ||
<img width="600" alt="screenshot" src="https://cloud.githubusercontent.com/assets/155164/13035288/256c6afc-d31a-11e5-9071-57a5fc753a79.png" /> | ||
<img alt="screenshot" src="https://user-images.githubusercontent.com/155164/28672800-bd415c86-72ae-11e7-855c-6f6aa108921b.png"> | ||
@@ -33,0 +33,0 @@ ## API |
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
8505
6
142