easy-googlesheets

An npm package to easily read Google Sheets data. The Share access should be “Anyone with the link can View”.

Installation

$ npm install easy-googlesheets

Usage

const EasyGooglesheets = require("easy-googlesheets");

EasyGooglesheets.getFromURL('https://docs.google.com/spreadsheets/d/1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms/edit#gid=0', true)
  .then((rows) => {
    console.log(data);
  });

EasyGooglesheets.getFromID('1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms', true)
  .then((rows) => {
    console.log(data);
  });

Contributions

  • Feel Free to create a PR/Issue for any feature or bug(s).
  • Make sure you follow the community guidelines!
  • Have a feature request? Open an Issue!

License

This package is licensed under MIT

GitHub

View Github