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

fdy-dendrite

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fdy-dendrite

A command-line tool to disaggregate rows in a csv by a 'AND'-delimited field

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Dendrite

A command-line tool to disaggregate rows in a csv by a "AND"-delimited field

What we have
name,address,date
Naomi and Bob,123 Main St,2018-03-01
Ethan,22 Maple St,2017-12-05
"John,Sybil",22 Oak Ln,2016-2-21
What we want:
name,address,date
Naomi,123 Main St,2018-03-01
Bob,123 Main St,2018-03-01
Ethan,22 Maple St,2017-12-05
John,22 Oak Ln,2016-2-21
Sybil,22 Oak Ln,2016-2-21

Note that Dendrite will disaggregate rows on standard "AND" separators found in the target field. These include &, and, and ,.

Install

npm install -g fdy-dendrite

Usage

dendrite -i <input filename> -f <split field name> -o <output filename>

Arguments

  • -i, --input (REQUIRED) Input filename and path (e.g. '/home/ubuntu/inputfile.csv')
  • -f, --field (REQUIRED) Name of delimited field on which to duplicate rows (e.g. name)
  • -o, --output (OPTIONAL) Output filename and path. Default is the input filename with 'out_' prepended.

FAQs

Package last updated on 03 Apr 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

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