Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 515 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 515 Bytes

ssconvert-wrapper

A small wrapper around ssconvert for node.js

Install

npm install ssconvert-wrapper

Usage

var ssconvert = require('ssconvert-wrapper');

ssconvert.convert({
	input: 'filename.csv',
	inputType: 'csv',
	output: 'filename.xls',
	outputType: 'xls'
}, function(err, result) {
	console.log(err, result);
});

Options

input: input filename (full path)

inputType: (xls, xlsx, ods, csv, tsv)

output: output filename (full path)

outputType: (xls, xlsx, ods, csv, html)