All Products
Search
Document Center

Tablestore:Install Tablestore SDK for Node.js

Last Updated:Mar 19, 2024

After you install Tablestore SDK for Node.js, you can call the operations of the SDK when you write code. This topic describes how to install Tablestore SDK for Node.js.

Environment preparation

  • Tablestore SDK for Node.js V4.0 or later is installed.

    Note

    To avoid compatibility issues, we recommend that you do not use Tablestore SDK for Node.js V12.0 to V12.14.

  • The Node.js development tool is installed.

Install Tablestore SDK for Node.js

Run the following command to install Tablestore SDK for Node.js:

npm install tablestore

Sample programs

Tablestore SDK for Node.js provides a variety of sample programs for your reference and use. You can obtain the sample programs by using one of the following methods: