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

untangle-csv

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

untangle-csv

Utility to untangle CSVs

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Untangle CSV columns

This utility converts this stream:

date,"text/plain, text/html",text/plain,"text/plain, text/html, text/rtf","text/html, text/plain"
2017-02-07,1,2,3,4
2017-02-08,5,6,7,8
2017-02-09,1,0,1,0
2017-02-10,9,0,0,9

into:

date,text/plain,text/html,text/rtf
2017-02-07,10,8,3
2017-02-08,26,20,7
2017-02-09,2,2,1
2017-02-10,18,18,0

Under the hood, it adds the contents of the columns splitted. The columns not repeated will have the same contents - see the date column in the example.

How to use it

Install it as a global module:

npm install -g untangle-csv

Use it UNIX-like:

cat demo.csv | untangle-csv > demo-untangled.csv

Or as a regular script:

untangle-csv demo.csv demo-untangled.csv

Keywords

FAQs

Package last updated on 16 Feb 2017

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