
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
tabular-formatted-view
Advanced tools
View some data in simple color tabular form in Windows console
Install:
gem install tabular-formatted-view
Usage:
# initialize view
tfv = Viewing::TabularFormattedView.new
# show view with header, fields and options
header = <<-HEAD
field 1 p1|field 2 p1|field n
field 1 p2|field 2 p2|_
HEAD
fields = [
{ name: 'field 1', max_width: 10, just: 'left' },
{ name: 'field 2', max_width: 7, just: 'right' },
{ name: 'field n', max_width: 10, format: '%10.2f', just: 'center' }
]
opts = { title_lines: ['line 1','line 2','line n'] }
tfv.show(header.split("\n"),fields,opts)
# you can initialize and start view proxy
# vp = Viewing::ViewProxy.new(tfv)
# vp.update('view')
# store data in view
values = ['id 1','abc',0.1]
id = values[0]
opts = { data_color_style: Kernel32Lib::FOREGROUND_GREEN | Kernel32Lib::FOREGROUND_INTENSITY | Kernel32Lib::BACKGROUND_BLUE}
# vp.store(id,values,opts)
tfv.store(id,values,opts)
# update view
# vp.update
tfv.update
# close view
# vp.close
tfv.close
More detailed example in ./fixtures/fixture_tabular_formatted_view.rb
Visit to tabular-formatted-view homepage
FAQs
Unknown package
We found that tabular-formatted-view demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.