Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

metalsmith-google-sheets

0.2.8 • Public • Published

metalsmith-google-sheets

Metalsmith plugin to ingest google-sheets using node-google-spreadsheets

Configuring the sheets and the API

See node-google-spreadsheet docs

Installation

npm --save metalsmith-google-sheets

Usage

For now please review the tests

You need to have a Google API account, and set up your sheet accordingly, instructions here: node-google-spreadsheet docs

CLI

"metalsmith-google-sheets": {
  "key": "THE_SPREADSHEET_KEY",
  "serviceAccountEmail": "YOUR_APP_EMAIL_ADDRESS",
  "privateKey": "YOUR_API_PRIVATE_KEY_HERE"
}

JS

.use(googleSheets({
  key: "THE_SPREADSHEET_KEY",
  serviceAccountEmail: "YOUR_APP_EMAIL_ADDRESS",
  privateKey: "YOUR_API_PRIVATE_KEY_HERE"
}))

install

npm i metalsmith-google-sheets

Downloadsweekly downloads

2

version

0.2.8

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability