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.
Prepare environments
Tablestore SDK for Node.js V4.0 or later is installed.
ImportantTo 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
Use npm to 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:
Download the Tablestore SDK for Node.js development package and decompress the package. The sample programs are stored in the samples directory. For information about the download path, see Version history of Tablestore SDK for Node.js.
Access Tablestore SDK for Node.js on GitHub.