---
title: "TooMuchTofu (@TooMuchTofu) | Hashnode"
description: "I like to eat tofu. Read the latest articles by TooMuchTofu on Hashnode."
url: "https://hashnode.com/@TooMuchTofu"
---

@TooMuchTofu

# TooMuchTofu

@TooMuchTofu · Joined November 2022

I like to eat tofu

## Comments

[Hey RayRay, Thanks for this, it was super helpful with my project. I had one small issue with \\r being inserted into my column 2 keys and values which sounds like it was the same as Mohd. Here was my solution: const csvArray = csvToArr(e.target.result, ","); csvArray.value = JSON.stringify(csvArray, null, 2).replaceAll("\\\\r",""); Simply just use replaceAll to remove the '\\r's. There is probably a nicer way to do that, but this is good enough for me. Thanks again. Bryon](https://hashnode.com/posts/convert-a-csv-to-a-javascript-array-of-objects-the-practical-guide/6322e5018350c8888bf3043b/comment/636d9fc54597d909de581c42)

Comment · Article · Nov 11, 2022 · [Convert A CSV To A JavaScript Array of Objects — The Practical Guide](https://hashnode.com/posts/convert-a-csv-to-a-javascript-array-of-objects-the-practical-guide/6322e5018350c8888bf3043b)
