Socket
Book a DemoInstallSign in
Socket

@mikeal/csv-merge

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mikeal/csv-merge

Merge two CSVs together

latest
Source
npmnpm
Version
1.0.7
Version published
Maintainers
1
Created
Source

csv-merge

Takes two CSV files with identical columns and writes the last column to new names in a new csv file.

const fs = require('fs')
const read = fs.readFileSync
const f1 = '../npm-regressions/2019-02---2019-02/depOwnersPerMonth.csv'
const f2 = '../npm-regressions/2019-02---2019-02/ownerReleasesByMonth.csv'
const string = merge(read(f1), read(f2), 'dependedOn', 'releases')
console.log(string) // string of the new csv

FAQs

Package last updated on 10 Oct 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