# tablestore

> TableStore SDK for JavaScript

Latest version **5.6.6** (published 2026-10-16) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install tablestore
pnpm add tablestore
yarn add tablestore
bun add tablestore
```

## Health

**Score 63/100 (C)** — status: active.

Positive: has types package; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.6.6 |
| Published | 2026-10-16 |
| First published | 2017-06-15 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | separate (@types/tablestore) |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 3.9 MB |
| Known vulnerabilities | 0 (+10 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 90 |
| Author | boxiao.wpl |
| Maintainers | xunjian, nashiluoyuji |
| Keywords | tablestore, ots |

## Links

- npm: https://www.npmjs.com/package/tablestore
- Repository: https://github.com/aliyun/aliyun-tablestore-nodejs-sdk
- Homepage: https://github.com/aliyun/aliyun-tablestore-nodejs-sdk#readme
- Issues: https://github.com/aliyun/aliyun-tablestore-nodejs-sdk/issues
- npm.io page: https://npm.io/package/tablestore

## Dependencies (4)

- [buffer](https://npm.io/package/buffer.md) 4.9.1
- [protobufjs](https://npm.io/package/protobufjs.md) ^6.11.3
- [flatbuffers](https://npm.io/package/flatbuffers.md) ^1.5.0
- [int64-buffer](https://npm.io/package/int64-buffer.md) 0.1.9

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 5.6.6 (latest) — 2026-10-16
- 5.6.5 — 2026-04-23
- 5.6.4 — 2026-04-17
- 5.6.3 — 2025-12-10
- 5.6.2 — 2025-09-01
- 5.6.1 — 2025-06-14
- 5.6.0 — 2025-04-27
- 5.5.1 — 2024-04-22
- 5.5.0 — 2024-02-23
- 5.4.1 — 2023-03-08
- 5.3.1 — 2022-11-29
- 5.3.0 — 2022-10-13
- 5.2.2 — 2022-08-29
- 5.2.1 — 2022-08-03
- 5.2.0 — 2022-07-26
- … 36 more at https://npm.io/package/tablestore/versions

## README

# Aliyun TableStore SDK for Node.js

[![License Status](https://img.shields.io/badge/license-apache2-brightgreen.svg)](https://travis-ci.org/aliyun/aliyun-tablestore-nodejs-sdk)
[![GitHub version](https://badge.fury.io/gh/aliyun%2Faliyun-tablestore-nodejs-sdk.svg)](https://badge.fury.io/gh/aliyun%2Faliyun-tablestore-nodejs-sdk)

## [Click here for the English README](README-EN.md)

## 关于
 - 此NodeJs SDK基于[阿里云表格存储服务](http://www.aliyun.com/product/ots/) API构建。
 - 阿里云表格存储是阿里云自主研发的NoSQL数据存储服务，提供海量结构化数据的存储和实时访问。
 

## 版本特性
- 版本: 5.6.6
  - 修复 Node.js 26 下 HTTP 响应未完全消费导致 SQLQuery 回调和 Promise 挂起的问题。
- 版本: 5.6.5
  - 完善知识库记忆库相关api.
- 版本: 5.6.4
  - 添加知识库相关api.
- 版本: 5.6.3
  - Fix ReferenceError for ESM.
- 版本: 5.6.2
  - Fix jsonify getRow response.
- 版本: 5.6.1
  - Fix function name.
- 版本: 5.6.0
  - Remove domain dependency.
- 版本: 5.5.1
  - Bug fix in _parseSearchHit function.
- 版本: 5.5.0
  - Search 新增：GroupByDateHistogram 功能
  - GroupByHistogram 支持 offset 参数
  - DescribeTable API 新增 IndexSyncPhase 返回
  - DescribeSearchIndex 新增 IndexStatus 返回
  - Search 新增：GroupByGeoGrid 功能
  - Search 新增：完整 Function Score 功能
  - Search 新增：KnnVectoryQuery 功能
  - Search 新增：Highlight 功能
  - Nested Query 支持 Highlight 参数
  - Search 新增：GroupByComposite 功能
  - Field Sort 支持 Missing Field 参数
- 版本：5.4.1
  - 修复默认重试策略中的默认值
- 版本：5.3.1
  - proto 不再使用废弃的web标准，以兼容 Deno
- 版本：5.3.0
  - SQL 序列化协议去除对 SQL_PLAIN_BUFFER 的支持，使用性能更好的 SQL_FLAT_BUFFERS
- 版本：5.2.2
  - Search 支持折叠功能
- 版本：5.2.1
  - SQL使用默认序列化协议SQL_FLAT_BUFFERS
- 版本：5.2.0
  - 新增 SQL 接口
  - Search 新增：统计聚合功能
  - Search ColumnReturnType 支持 RETURN_ALL_FROM_INDEX
  - Search 部分 Query 支持 weight 参数
  - 新增 ComputeSplits 接口
  - 新增 ParallelScan 接口
  - 新增 UpdateSearchIndex 接口
  - DescribeSearchIndex 可以获取: 计量、创建时间、TTL 等信息
  - 创建 SearchIndex 支持: 动态修改schema、TTL
  - 主表支持 allowUpdate 的修改
  - 默认重试策略支持 Search 和 SQLQuery
  - 出错时携带 RequestId
- 版本：5.1.2
  - 修复 创建含增量二级索引问题修复
- 版本：5.1.1
  - 修复 10_000引入的低版本node不识别问题
- 版本：5.1.0
  - 多元索引支持日期类型
  - 多元索引查询SearchAPI支持设置单独的timeout
  - 多元索引排序支持missing
  - 创建多元索引支持设置分词、分词参数、虚拟列
- 版本：5.0.6
   - 升级protobufjs依赖（4.1.2 -> 6.8.8）
   - 请求参数向前兼容，返回参数字段改变：下划线变为驼峰式（与request保持一致)
- 版本：4.3.2
  - 修复Query不支持Long类型查询问题
  - 支持SearchIndex
  - 支持GlobalIndex
  - 支持原子加
  - 支持事务
  - 支持ExistsQuery

## 安装

```sh
npm install tablestore
```

## 使用方法
参考在samples目录下的代码示例，将samples/client.js文件中的相关参数修改为自己实例的参数即可。

## 贡献代码
 - 我们非常欢迎大家为TableStore NodeJs SDK以及其他TableStore SDK贡献代码

## 联系我们
- [阿里云TableStore官方网站](http://www.aliyun.com/product/ots)
- [阿里云TableStore官方论坛](http://bbs.aliyun.com)
- [阿里云TableStore官方文档中心](https://help.aliyun.com/product/8315004_ots.html)
- [阿里云云栖社区](http://yq.aliyun.com)
- [阿里云工单系统](https://workorder.console.aliyun.com/#/ticket/createIndex)

### 扫码加入TableStore钉钉讨论群(群号:23307953)，和我们直接交流讨论
![Image text](img/QRCode.png)

---
_Source: https://npm.io/package/tablestore · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
