sigma-csv
A CSV parser for javascript, typescript with no extra dependencies.
Fully customizable and supports partial parsing of a basic csv file.
Changelog
The changelog is available here
Bundler
This package is bundled by vite. we provide 4 different bundles for different environments and those are:
✅ esm
✅ cjs
✅ umd
✅ iife
CSV parser support
currently the parser supports a few features that is already implemented.
✅ Basic CSV parsing
✅ Extending CSV parsing
✅ CSV parsing with custom delimiters
✅ Results can be returned as an array of objects, JSON or Tuples (arrays)
✅ The option to parse every single column to a number if possible
✅ Number parse option for a column
the parser currently is supporting the following features:
"," and ";" as delimiters
\n as line breaks
" as quote character
" " as empty line
Installation
npm install sigma-csv
pnpm add sigma-csv
Documentation
The documentation is available here
Roadmap
The roadmap is available here
Suggestions
If you have any suggestions, please feel free to open an issue or a pull request.
License
sigma-csv is licensed under the MIT License
Copyright (c) 2022-present, Beau den Heijer