🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

dtable-sdk

Package Overview
Dependencies
Maintainers
1
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dtable-sdk

dtable sdk

0.0.132-beta
npm
Version published
Weekly downloads
34
-39.29%
Maintainers
1
Weekly downloads
 
Created
Source

dtable-sdk

JavaScript SDK for SeaTable (DTable is an old name).

Adding to your poject

Using npm:

npm i dtable-sdk --save

Basic demo

Prepare a test base, just like:

NameResult
Mike
Judy

Create a base with a table named sayHello and a view named Default_View. Then, add a long text column named Result. Add a few rows and create a name for each row. Leave the Result column blank.

Then, generate an APIToken and change the example/example.json file like the code below:

{
    "APIToken": "xxxxxxxx",
    "server": "http://127.0.0.1:8001",
    "workspaceID": "xxxxxxxx",
    "dtableName": "xxxxxxxx",
    "licenseGeneratorToken": "xxxxxxxx"
}

Run npm run example and wait for a few seconds. You will see result column has changed to something similar to this:

NameResult
MikeHello Mike
JudyHello Judy

FAQs

Package last updated on 08 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts