1.1.0 • Published 5 months ago

@vueware/csv-parser v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Vueware

@vueware/csv-parser

@vueware/csv-parser is a simple TypeScript library that converts CSV files into an array of JSON objects. It supports custom delimiters and includes basic error handling.

Installation

Install via npm:

npm install @vueware/csv-parser

Usage

Import and use the parse function to convert your CSV file:

import { parse } from "@vueware/csv-parser";

const data = parse("path/to/file.csv");
console.log(data);

Parameters:

  • filePath (string): Path to the CSV file.
  • delimiter (optional, string): The delimiter for columns (default is comma).
1.1.0

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago