1.1.0 • Published 10 years ago

csv-to-sheet v1.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

csv-to-sheet

Got a google service account and a csv? Then upload it.

##Install

sudo npm install -g csv-to-sheet

##Command-line usage

Usage: csv-to-sheet  -a xxx@developer.gserviceaccount.com -p file.pem file.csv

Options:
  -h, --help     Show help  [boolean]
  -a, --account  Email address for the google service account  [required]
  -p, --pem      Path to the pem file  [required]
  -u, --user     The email address to impersonate  [required]

##Node usage

var csvToSheet = require('csv-to-sheet');
csvToSheet({
	clientEmail: 'xxx@developer.gserviceaccount.com',
	userEmail: 'myaccount@mydomain.com',
	file: 'path/to/file.csv',
	pem: 'path/to/file.pem',
}, function(err, res){



});
1.1.0

10 years ago

1.0.0

10 years ago