Gathering detailed insights and metrics for terminal-kit
Gathering detailed insights and metrics for terminal-kit
Gathering detailed insights and metrics for terminal-kit
Gathering detailed insights and metrics for terminal-kit
@types/terminal-kit
TypeScript definitions for terminal-kit
cli-kit
Everything you need to create awesome command line interfaces
@halfhelix/terminal-kit

@kawu/console-kit
A `fast`, `light weight`, `minimalist` and `reliable` module to log stuff easly and more understable.
npm install terminal-kit
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (97.64%)
HTML (2.18%)
Makefile (0.11%)
CSS (0.07%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3,233 Stars
1,330 Commits
207 Forks
36 Watchers
9 Branches
19 Contributors
Updated on Jul 10, 2025
Latest Version
3.1.2
Package Id
terminal-kit@3.1.2
Unpacked Size
3.88 MB
Size
914.58 kB
File Count
110
NPM Version
9.8.1
Node Version
20.12.2
Published on
Jan 11, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A full-blown terminal lib featuring: 256 colors, styles, keys & mouse handling, input field, progress bars, screen buffer (including 32-bit composition and image loading), text buffer, and many more...
Whether you just need colors & styles, build a simple interactive command line tool or a complexe terminal application: this is the absolute terminal lib for Node.js!
It does NOT depend on ncurses.
Some tutorials are available at blog.soulserv.net/tag/terminal.
This is a fraction of what Terminal-Kit can do, with only few lines of code. Click any image to see the documentation related to the feature!
← Table with automatic column computing, cell fitting and word-wrapping
← Load and draw an image inside the terminal
New: Document model for building rich app GUI
New: Spinner
New: Table with automatic column computing, cell fitting and word-wrapping
New: Promises can be used instead of callback everywhere
New: Word-wrapping along full terminal width or a pre-defined column-width
New: ScreenBuffer HD 32-bit (RGBA) surfaces with composition and image loading
1// Require the lib, get a working terminal 2var term = require( 'terminal-kit' ).terminal ; 3 4// The term() function simply output a string to stdout, using current style 5// output "Hello world!" in default terminal's colors 6term( 'Hello world!\n' ) ; 7 8// This output 'red' in red 9term.red( 'red' ) ; 10 11// This output 'bold' in bold 12term.bold( 'bold' ) ; 13 14// output 'mixed' using bold, underlined & red, exposing the style-mixing syntax 15term.bold.underline.red( 'mixed' ) ; 16 17// printf() style formatting everywhere: 18// this will output 'My name is Jack, I'm 32.' in green 19term.green( "My name is %s, I'm %d.\n" , 'Jack' , 32 ) ; 20 21// Since v0.16.x, style markup are supported as a shorthand. 22// Those two lines produce the same result. 23term( "My name is " ).red( "Jack" )( " and I'm " ).green( "32\n" ) ; 24term( "My name is ^rJack^ and I'm ^g32\n" ) ; 25 26// Width and height of the terminal 27term( 'The terminal size is %dx%d' , term.width , term.height ) ; 28 29// Move the cursor at the upper-left corner 30term.moveTo( 1 , 1 ) ; 31 32// We can always pass additional arguments that will be displayed... 33term.moveTo( 1 , 1 , 'Upper-left corner' ) ; 34 35// ... and formated 36term.moveTo( 1 , 1 , "My name is %s, I'm %d.\n" , 'Jack' , 32 ) ; 37 38// ... or even combined with other styles 39term.moveTo.cyan( 1 , 1 , "My name is %s, I'm %d.\n" , 'Jack' , 32 ) ; 40 41// Get some user input 42term.magenta( "Enter your name: " ) ; 43term.inputField( 44 function( error , input ) { 45 term.green( "\nYour name is '%s'\n" , input ) ; 46 } 47) ;
7.5/10
Summary
terminal-kit Inefficient Regular Expression Complexity vulnerability
Affected Versions
< 2.1.8
Patched Versions
2.1.8
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
2 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 2
Reason
Found 1/29 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More