
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
table-printer-cli
Advanced tools
Printing Simple Table on your bash terminal. Its useful when you want to present some tables on console. There is a library that you can use similar way in nodejs/typescript Projects. console-table-printer
npm install --global table-printer-cli
yarn global add table-printer-cli
Try this simple example first:
ctp -i '[{"name":"Alice","score":95},{"name":"Bob","score":82}]'
You can also pipe JSON data from other commands:
# Pipe data from another command
echo '[{"name":"Alice","role":"Developer"},{"name":"Bob","role":"Designer"}]' | ctp -s
Customize your tables with colors, styles, and more using the --tableOptions
parameter. These options are compatible with console-table-printer library.
# Colorize specific columns
ctp -i '[
{"name": "John", "status": "active", "score": 95},
{"name": "Jane", "status": "inactive", "score": 82},
{"name": "Bob", "status": "active", "score": 78}
]' --tableOptions '{
"title": "Employee Status",
"columns": [
{"name": "status", "color": "green", "alignment": "right"},
{"name": "score", "color": "yellow"}
]
}'
Usage: ctp [options]
Options:
-v, --version output the current version
-i, --input <value> input string
-s, --stdin read input from stdin
-t, --tableOptions <value> table options in JSON format
-h, --help display help for command
FAQs
console table printer cli. Print table on bash terminal
The npm package table-printer-cli receives a total of 9 weekly downloads. As such, table-printer-cli popularity was classified as not popular.
We found that table-printer-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.