Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
gem to create a new file in the Excel 2007+ XLSX format, and you can use the same interface as writeexcel gem. write_xlsx is converted from Perl's module Excel::Writer::XLSX
Reference doc : https://cxn03651.github.io/write_xlsx/
The WriteXLSX supports the following features:
write_xlsx uses the same interface as writeexcel gem.
Add this line to your application's Gemfile:
gem 'write_xlsx'
And then execute:
$ bundle
Or install it yourself as:
$ gem install write_xlsx
To write a string, a formatted string, a number and a formula to the first worksheet in an Excel XML spreadsheet called ruby.xlsx:
require 'rubygems'
require 'write_xlsx'
# Create a new Excel workbook
workbook = WriteXLSX.new('ruby.xlsx')
# Add a worksheet
worksheet = workbook.add_worksheet
# Add and define a format
format = workbook.add_format # Add a format
format.set_bold
format.set_color('red')
format.set_align('center')
# Write a formatted and unformatted string, row and column notation.
col = row = 0
worksheet.write(row, col, "Hi Excel!", format)
worksheet.write(1, col, "Hi Excel!")
# Write a number and a formula using A1 notation
worksheet.write('A3', 1.2345)
worksheet.write('A4', '=SIN(PI()/4)')
workbook.close
Original Perl module was written by John McNamara(jmcnamara@cpan.org).
Converted to ruby by Hideo NAKAMURA(nakamrua.hideo@gmail.com) Copyright (c) 2012-2024 Hideo NAKAMURA.
See LICENSE.txt for further details.
FAQs
Unknown package
We found that write_xlsx 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.