Create json blobs from google docs
You can use this little node script to automatically create json files from google spreadsheet docs. To get started, you'll have to have your google doc auto publishing csv documents.
File -> Publish to the web...
Copythe link within "Get a link to the published data", it's your GDOC_KEY
npm install hickorydickory
hickorydickory. The script will prompt you for configuration options and then write the .hickorydickory file to the current directory.
Hickorydickory will recognize arrays in your google doc if you surround the cell contents with brackets. Example -
[thing1, thing2, thing3]
The following config options are supported in the .hickorydickory file.
key- The google doc key example -
index- The index to set as object keys example -
file- The output file example -
exports- Specify this if you want the final object to be "exported", example -