New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

csv-utils-sum

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-utils-sum

Utility that helps you to sum CSV file columns

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

csv-utis-untangle

This utility take a CSV file like:

column1,column2,column3,column4,column5
2017-02-07,1,2,3,'foo'
2017-02-08,5,6,7,'bar'
2017-02-09,1,0,1,'foobar'
2017-02-10,9,0,0,'barfoo'

an outputs the sum of its columns, ordered by count:

16, column2
11, column4
 8, column3

How to use it

Install it as a global module:

npm install -g sum-csv

Use it UNIX-like:

cat demo.csv | sum-csv --ignore-columns column1,column5

Or as a regular script:

sum-csv --ignore-columns column1,column5 demo.csv

Options

--ignore-columns cols or -i cols:

  • Allows you to pass a list of columns to ignore, separated by commas.

Keywords

FAQs

Package last updated on 26 Jun 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc