mafintosh / mafintosh/csv-parser

Example of browser usage?

Open
#167 7 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.5k
Forks
143
PR merge metrics
No merged PRs in 30d

Description

Hiya, forgive me if this is not the right venue for this question, but I've done some research and asked around before-hand and come up short. I've used this library several times in node.js and love it. I'd like to use it for a browser project, to make an open source UI for importing CSV files to an application.

The readme says:

> csv-parser can be used in the browser with browserify.

Any chance you have an example of that? I'd love to use it with an ``, but I'm under the impression the `FileReader` type streams are not compatible with node-style streams. Is there some sort of interop tool out there? I can't imagine it's just brfs 🤔

Thanks for your time and great libs!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README's note that csv-parser works in the browser with browserify, then investigate how the mentioned input type="file" and FileReader relate to node-style streams. Done means documenting a working browser usage example or clearly explaining the required interop.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
documentation, web-dev
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.