Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csvkiller

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csvkiller

Segment CSV files by any column

  • 0.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21
increased by600%
Maintainers
1
Weekly downloads
 
Created
Source

csvkiller

Segment CSV files by any column

#Dependencies

nodejs, npm, and bash

#Installation

Depending on your environment you may need to run this as root

npm install -g csvkiller

#Usage

Usage: csvkiller -c [column] [options] [file ...]

Options:

  -h, --help                           output usage information
  -V, --version                        output the version number
  -c, --column [name]                  Which column to segment by
  -d, --delimiter [delimiter]          How to split up lines in the input file (use TAB for tab-delimited) [,]
  -o, --output-directory [path]        Output directory [./output]
  -od, --output-delimiter [delimiter]  How to split up lines in the output files (use TAB for tab-delimited) [,]
  -b, --buffer-size [characters]       Max characters in the output buffer [1000000]
  -u, --uppercase                      Case insensitive column matching, write to OUTPUT.csv instead of Output.csv
  -l, --lowercase                      Case insensitive column matching, write to output.csv instead of Output.csv
  -v, --verbose                        Verbose output

#Examples

Turn people.csv into output/male.csv and output/female.csv

csvkiller -d TAB -c gender people.tsv

Combine *.csv into output/Alabama.csv, output/Alaska.csv, etc

csvkiller -c state *.csv

FAQs

Package last updated on 06 Mar 2015

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