Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
TableFu turns a matric array(from a csv file for example) into a spreadsheet.
Allows formatting, macros, sorting, and faceting.
Documentation: http://propublica.github.com/table-fu
Installation: gem install table-fu
csv =<<-CSV
Project,Cost,Date,URL
Build Supercollider,500_000_000.50,09/15/2009,http://project.com
Harness Power of Fusion,25_000_000,09/16/2009,http://project2.com
Motorized Bar Stool,45.00,09/17/2009,http://project3.com
CSV
@spreadsheet = TableFu.new(csv) do |s|
s.formatting = {'Cost' => 'currency',
'Link' => {'method'=> 'link', 'arguments' => ['Project', 'URL']}}
s.sorted_by = {'Project' => {'order' => 'descending'}}
s.columns = ['Date', 'Project', 'Cost', 'Link']
end
@spreadsheet.rows[0].column_for('Cost').to_s #=> '$45.00'
@spreadsheet.rows[0].columns[1].to_s #=> 'Motorized Bar Stool'
@spreadsheet.rows[0].column_for('Link').to_s
#=> "<a href='http://project.com' title='Build Supercollider'>Build Supercollider</a>"
FAQs
Unknown package
We found that table_fu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.