Skip to content

A simple Node.js module for interacting with the SheetDB API

Notifications You must be signed in to change notification settings

lassejlv/sheetdb.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sheetdb.js

A simple Node.js module for interacting with the SheetDB API

Getting Started

Go to sheetdb-js.vercel.app to get started.

Basic Usage

// Import the libary
const { SheetClient } = require("@themrdev/sheetdb.js");

// Setup Client

const sheetDbClient = new SheetClient({
  // The app id from the: https://sheetdb.io/api/v1/<app_id>
  connect: "<app_id>",
});

// On Connect

sheetDbClient.on("connect", (connectionString) => {
  console.log(
    "Connected to the database! Connection String: " + connectionString
  );
});

About

A simple Node.js module for interacting with the SheetDB API

Topics

Resources

Stars

Watchers

Forks