csv-to-sql-insert
csv-to-sql-insert copied to clipboard
Fix Issue #83: Added support for different delimiters
Command-line Argument for Custom Delimiter:
Added --delimiter option to specify custom delimiters (e.g., npm start YourFileName --delimiter=;) Implemented parsing of this new command-line argument in the parseArguments function.
Delimiter Auto-detection:
Implemented detectDelimiter function to automatically identify the delimiter used in CSV files if not provided.
Updated ReadME to explain the new custom delimiter feature and auto-detection capability. Code handles comma, semicolon, colon, pipe, and tab delimiters.