Skip to content

Starchup/starchup-sheets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published