0.1.3 • Published 7 years ago

starchup-sheets v0.1.3

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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.

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago