csv-to-sheet
v1.1.0
Published
csv-to-sheet
Downloads
8
Readme
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 [email protected] -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: '[email protected]',
userEmail: '[email protected]',
file: 'path/to/file.csv',
pem: 'path/to/file.pem',
}, function(err, res){
});