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

Ability to import TSV (Tab-separated values) files #275

Open
nayrutes opened this issue Apr 13, 2023 · 1 comment
Open

Ability to import TSV (Tab-separated values) files #275

nayrutes opened this issue Apr 13, 2023 · 1 comment

Comments

@nayrutes
Copy link
Contributor

Idea: detecting filename extension (.tsv or .tab) and converting all tabs '\t' with ','.
function convertTsvToCsv(tsvData: string): string { return tsvData.replace(/\t/g, ','); }

Ps.: I would have created a pull request but I didn't find the correct place to add this to.

@Bone008
Copy link
Owner

Bone008 commented Oct 5, 2023

If there is a specific file format that uses tab-seperated values, this could be added as a flag onto the FormatMapping structure and then passed to papa-parse as the "delimiter" option. This only becomes relevant once a bank statement format that is built this way is added though :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants