UNPKG

tabletop

Version:

**Tabletop.js** takes a Google Spreadsheet and makes it easily accessible through JavaScript. With zero dependencies!

22 lines (15 loc) 299 B
var Tabletop = require('../../'); var testURL = 'THIS_WONT_WORK'; function onLoad(data, tabletop) { console.log(data); }; function onError(err) { console.log("Failed"); }; var options = { key: testURL, callback: onLoad, error: onError, simpleSheet: true }; Tabletop.init(options);