Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Transpose (rotate) data from rows to columns or vice verse in csv/tsv

License

NotificationsYou must be signed in to change notification settings

beenotung/csv-transpose

Repository files navigation

npm Package Version

Transpose (rotate) data from rows to columns or vice verse in csv/tsv

Installation

# for clinpm i -g csv-transpose# for import usagenpm i csv-transpose

Executables:

  • csv-transpose
  • tsv-transpose

Examples

View Help Messages

csv-transpose --help

Using files

csv-transpose -i in.csv -o out.csv

Using pipe

cat in.csv| csv-transpose> out.csv

Calling from node.js

letlib=require('csv-transpose')lettext='...some csv text...'letseparator=','text=lib.transpose(text,separator)

Calling from typescript

import{transpose}from'csv-transpose'lettext='...some csv text...'letseparator=','text=lib.transpose(text,separator)

The file mode and pipe mode can be used in combination.

License

This project is licensed withBSD-2-Clause

This is free, libre, and open-source software. It comes down to four essential freedoms[ref]:

  • The freedom to run the program as you wish, for any purpose
  • The freedom to study how the program works, and change it so it does your computing as you wish
  • The freedom to redistribute copies so you can help others
  • The freedom to distribute copies of your modified versions to others

About

Transpose (rotate) data from rows to columns or vice verse in csv/tsv

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2026 Movatter.jp