2dpixels-terminal 中文文档教程
2dpixels-terminal
在 终端
install
使用 npm 的
npm i --save 2dpixels-terminal
usage
var rainbowPixels = require('rainbow-pixels')
var toTerminal = require('2dpixels-terminal')
var height = process.stdout.rows
var width = process.stdout.columns
rainbowPixels({
shape: [height, width]
})
.pipe(toTerminal())
license
,执行: ISC
2dpixels-terminal
display a 2-dimensional ndarray of colors in the terminal
install
with npm, do:
npm i --save 2dpixels-terminal
usage
var rainbowPixels = require('rainbow-pixels')
var toTerminal = require('2dpixels-terminal')
var height = process.stdout.rows
var width = process.stdout.columns
rainbowPixels({
shape: [height, width]
})
.pipe(toTerminal())
license
ISC