# google-sheets-json

> Get nicely formatted JSON from Google Sheets with support for multiple worksheets.

Latest version **1.0.0** (published 2015-10-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install google-sheets-json
pnpm add google-sheets-json
yarn add google-sheets-json
bun add google-sheets-json
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-10-29 |
| First published | 2015-10-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Harrison Liddiard |
| Maintainers | liddiard |
| Keywords | google, google, sheets, google, docs, spreadsheet, json, worksheet |

## Links

- npm: https://www.npmjs.com/package/google-sheets-json
- Repository: https://github.com/liddiard/google-sheets-json
- Homepage: https://github.com/liddiard/google-sheets-json#readme
- Issues: https://github.com/liddiard/google-sheets-json/issues
- npm.io page: https://npm.io/package/google-sheets-json

## Dependencies (1)

- [superagent](https://npm.io/package/superagent.md) ^1.3.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-10-29

## README

# google-sheets-json

Get JSON data from public Google Sheets (spreadsheets) and format the data
in an easy-to-consume way.

## Quickstart

Install the package from npm:

```
npm install google-sheets-json
```

Use it in code like this:

```javascript
var Spreadsheet = require('google-sheets-json');

var spreadsheet = new Spreadsheet('my-spreadsheet-id');

spreadsheet.getDefaultWorksheet(function(err, res){
    console.log(res); // array of objects
});

spreadsheet.listWorksheets(function(err, res){
    console.log(res); // array of worksheet ids on this spreadsheet
});

spreadsheet.getWorksheet('my-worksheet-id', function(err, res){
    console.log(res); // array of objects
});
```

---
_Source: https://npm.io/package/google-sheets-json · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
