Home

Awesome

vuecsv

Build Status

Demo

Use

npm run build && open dist/index.html
yarn && open dist/index.html
<link rel="stylesheet" href="https://unpkg.com/vuecsv/dist/vuecsv.min.css">
<script type="text/javascript" src="https://unpkg.com/vuecsv/dist/vuecsv.min.js"></script>

Methods

namedesc
convertconvert Json(with/without header) to CSV
downloaddownload converted data

Properties

namedescdefault
titleButton titleDownload
filenameDownloaded filenamedownload
optionsconvert and download options(compatible papaparse)default papaparse
headerheader string of CSV(string map)undefined
dataJsoncontents of CSV(array, compatible papaparse)undefined

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

CONTRIBUTING

Start

develop

LICENSE