New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

csv-reduce

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-reduce

Application for generating CSV data with subset of columns from a CSV file.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

csv-reduce

Application for generating CSV data with subset of columns from a CSV file.

Installation

npm i -g csv-reduce

Arguments

--in, -i (required) path to input file

--fields, -f (required) comma separated list of fields from the input file that should be extracted

--out, -o path to output file, if not given data will be sent to stdout

--verbose whether to print verbose info

Example

Input file: in.csv

a,b,c
1,2,3
4,5,6
csv-reduce --in ./in.csv --fields a,c --out ./out.csv

Output file: out.csv

a,c
1,3
4,6

Keywords

csv

FAQs

Package last updated on 19 Oct 2018

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