Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom delimiter #39

Open
harrybiddle opened this issue Dec 11, 2023 · 1 comment
Open

Support custom delimiter #39

harrybiddle opened this issue Dec 11, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@harrybiddle
Copy link

Hey - I wanted to use your tool but I couldn't see an option to pass in a custom delimiter

@travishorn
Copy link
Owner

It should scan the first few lines of your data to auto-detect the delimiter. But allowing custom parsing configuration is a great feature idea.

One strategy for implementing this would be adding a CLI argument for specifying a config file. Then merge that configuration with the defaults found in src/parseCsv.js.

In the meantime, you could fork and modify the options for parse(). Adding something like delimiter: ";" would work.

@travishorn travishorn added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants