2dpixels-terminal

    3.0.0 • Public • Published

    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

    Install

    npm i 2dpixels-terminal

    DownloadsWeekly Downloads

    9

    Version

    3.0.0

    License

    ISC

    Last publish

    Collaborators

    • ahdinosaur