From 861eecc386dad4497917f5c49970fb8ca4a45025 Mon Sep 17 00:00:00 2001 From: joussy Date: Sun, 23 Jun 2024 12:57:22 +0000 Subject: [PATCH] tab delimiter for csv --- README.md | 1 + client/src/app.vue | 2 ++ server/src/routes/index.js | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 934a714..061d590 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ A server-side processor for [JSONata](https://github.com/jsonata-js/jsonata) tha ## Features - **Unlimited Processing Time**: Server-side processing removes browser limitations. - **Flexible Input/Output**: Supports both JSON and CSV formats. +- **Choose your CSV Delimiter**: comma, semi-column and tab are supported - **Data Persistence**: Saves data to local storage to prevent data loss. - **Dark/Light Mode**: Choose your preferred theme. - **Auto-refresh**: Automatically updates the data. diff --git a/client/src/app.vue b/client/src/app.vue index 62ef4fc..10b70cc 100644 --- a/client/src/app.vue +++ b/client/src/app.vue @@ -16,6 +16,7 @@ @@ -34,6 +35,7 @@ diff --git a/server/src/routes/index.js b/server/src/routes/index.js index 91613ce..87ecd41 100644 --- a/server/src/routes/index.js +++ b/server/src/routes/index.js @@ -9,7 +9,6 @@ router.get('/', function (req, res, next) { router.post('/api/jsonata', async (req, res, next) => { let jsonInput; - if (req.body.csvInput) { // Parse CSV input try {