starchup-sheets

0.1.3 • Public • Published

Starchup Sheets

Simple helper for posting Starchup errors to Google sheets.

Installation

npm install starchup-sheets

Required environment vars

export SHEETS_ID="id_of_google_spreadsheet"

export SHEETS_CREDENTIALS="one_line_string_of_downloaded_credentials_file_from_google"

Initialization

var starchupSheets = require('starchup-sheets');
var sheet = new starchupSheets();

Example

....
}).catch(function(e) {
    sheet.postError(e);
});

Error object must have type property that corresponds to title of appropriate worksheet, and should have properties for any applicable headers in the worksheet.

Readme

Keywords

Package Sidebar

Install

npm i starchup-sheets

Weekly Downloads

1

Version

0.1.3

License

ISC

Last publish

Collaborators

  • nickchapleau
  • glesage
  • eahenke