1.0.7 • Published 1 year ago
csv-list v1.0.7
Introduction
A simple converter from csv to array
Installation
npm install csv-list
Usage Example
import {getFile} from "csv-list"; //getFile is an async function
const handleChange = (e) => {
const file = e.target.files[0]
getFile(file).then((result) => {
console.log(result)
})
.catch((error) => {
console.log(error)
})
}