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

csv-join

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-join

join two csvs based on a 'foreign key' column

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
31
14.81%
Maintainers
1
Weekly downloads
 
Created
Source

csv-join

join two cavs based on a "foreign key" relationship

NPM

note: source.csv gets buffered into memory in the current implementation. a purely streaming version would be cool. if you have ideas for this open an issue!

usage

csv-join <source> <source-column> <target> <target-column>

sourceand target can be either paths to local files or http/https links

example

given the following:

source.csv:

a,b,c
1,2,3

target.csv:

id,name
1,bob
2,bill
3,carl

then running csv-join source.csv 'a' target.csv 'id' would result in:

id,name,a,b,c
1,bob,1,2,3
2,bill,,,
3,carl,,,

FAQs

Package last updated on 26 Jun 2014

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