From 841e1d420dd2758cccb60a2bc1f2fcffd327c251 Mon Sep 17 00:00:00 2001 From: Cami Blanch Date: Fri, 2 Jun 2023 03:50:40 -0600 Subject: [PATCH] Add usage example (#1002) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9af8ad80..8484aac8 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,14 @@ can be installed with the following command: If you don't want to use npm, [papaparse.min.js](https://unpkg.com/papaparse@latest/papaparse.min.js) can be downloaded to your project source. +Usage +----- + + import Papa from 'papaparse'; + + Papa.parse(file, config); + + const csv = Papa.unparse(data[, config]); Homepage & Demo ----------------