csv-to-sheet

1.1.0 • Public • Published

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){
 
 
 
});

Package Sidebar

Install

npm i csv-to-sheet

Weekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • chevett