GithubHelp home page GithubHelp logo

sheetdown's Introduction

sheetdown

js-standard-style travis

Convert a Google Spreadsheet into a table in Markdown. A node.js module, available here and NPM.

Works with both old and new Google Spreadsheets.

To Use

You'll need Node.js (and NPM, which in most cases comes bundled with Node.js). To get Node.js (for running JavaScript on servers (and in this case your computer is one)), go to nodejs.org and click the icon that corresponds to your operating system. Install. When it's done, open Terminal (in Mac) or Command Prompt (Win) and proceed:

Install sheetdown

Globally -g install it so that you can use it anywhere.

npm install -g sheetdown

Get your Table

Use your Spreadsheet url and either run one of these commands to either print the table out to your console, copy it to your computer's clipboard or save it to a file named table.md in the current directory.

Prints to terminal:

sheetdown SPREADSHEETURL

Copies the output (and then you can paste it):

sheetdown SPREADSHEETURL | pbcopy

Save Table as Markdown file

It will save the file table.md in the current working directory, so if you want it to be somewhere specific, navigate yourself there in your terminal.

sheetdown SPREADSHEETURL --save

About your Spreadsheet

You'll need an accessible (settings that allow its data to be read) Google Spreadsheet:

  • From your Google Spreadsheet click File > Publish to Web (this makes it so the data can be fetched). Click Start Publishing.
  • From the Share button on the top right, have it set at least to 'Anyone who has the link can view'

To Build and Hack on

git clone https://github.com/jlord/sheetdown.git
cd sheetdown
npm install

sheetdown's People

Contributors

aalaap avatar dansinker avatar jlord avatar maroshii avatar mattisg avatar uvacoder avatar zeke avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.