Pandat

[ ]

Pandat is Pandoc for data. It lets you convert between XML, JSON, CSV, SQL, and many more. It's on NPM and Github.

Some XML data for a CD collection

Remember CDs?

We can convert this representation into CSV, JSON, SQL, and GraphViz.

npm install -g pandat

Press the button to see the converted data...














































































pandat -f xml -t json file.xml
pandat -f xml -t csv file.xml
pandat -f xml -t sql file.xml

Graphviz:

pandat -f xml -t gv file.xml > file.dot dot -Tpng file.dot > graph.png






A Codestellation project