From 603e318f1b41328c0479071d814e7c86fb221c47 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Tue, 21 Jan 2020 15:53:04 +0100 Subject: [PATCH] Add lib to README --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index db53a13e..9c287ab9 100644 --- a/README.md +++ b/README.md @@ -656,6 +656,21 @@ break> x 1 ``` +#### [clojure-csv](https://github.com/davidsantiago/clojure-csv) + +A library for reading and writing CSV files. Note that babashka already comes +with `clojure.data.csv`, but in case you need this other library, this is how +you can use it: + +``` shell +export BABASHKA_CLASSPATH="$(clojure -Sdeps '{:deps {clojure-csv {:mvn/version "RELEASE"}}}' -Spath)" + +./bb -e " +(require '[clojure-csv.core :as csv]) +(csv/write-csv (csv/parse-csv \"a,b,c\n1,2,3\")) +" +``` + ### Blogs - [Clojure Start Time in 2019](https://stuartsierra.com/2019/12/21/clojure-start-time-in-2019) by Stuart Sierra