# nacos-sdk-rust-binding-node

> nacos-sdk-rust binding for NodeJs with napi.

Latest version **0.8.0** (published 2026-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install nacos-sdk-rust-binding-node
pnpm add nacos-sdk-rust-binding-node
yarn add nacos-sdk-rust-binding-node
bun add nacos-sdk-rust-binding-node
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.8.0 |
| Published | 2026-04-18 |
| First published | 2023-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >= 10 |
| Dependencies | 0 |
| Unpacked size | 61.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | cherish-_-cai |
| Keywords | nacos, napi, binding, ffi |

## Links

- npm: https://www.npmjs.com/package/nacos-sdk-rust-binding-node
- Repository: https://github.com/opc-source/nacos-sdk-rust-binding-node
- Homepage: https://github.com/opc-source/nacos-sdk-rust-binding-node#readme
- Issues: https://github.com/opc-source/nacos-sdk-rust-binding-node/issues
- npm.io page: https://npm.io/package/nacos-sdk-rust-binding-node

## Recent versions

- 0.8.0 (latest) — 2026-04-18
- 0.5.3-BETA3 (next) — 2026-01-28
- 0.7.0 — 2026-04-03
- 0.6.0 — 2026-02-07
- 0.5.3 — 2026-01-28
- 0.5.3-BETA2 — 2026-01-28
- 0.4.2 — 2024-09-14
- 0.4.0 — 2024-05-19
- 0.3.7-alpha — 2024-05-14
- 0.3.6 — 2024-04-21
- 0.3.5 — 2024-03-10
- 0.3.3 — 2023-11-22
- 0.3.2 — 2023-09-29
- 0.3.1 — 2023-07-22
- 0.3.0-alpha — 2023-07-20
- … 19 more at https://npm.io/package/nacos-sdk-rust-binding-node/versions

## README

# nacos-sdk-rust-binding-node
nacos-sdk-rust binding for NodeJs with napi.

Tip: nacos-sdk-nodejs 仓库暂未提供 2.x gRPC 交互模式，为了能升级它，故而通过 node addon 方式调用 nacos-sdk-rust 

# Usage
**使用样例请看仓库内的 example 目录，完整 api 请看 index.d.ts**

npm 包 -> https://www.npmjs.com/package/nacos-sdk-rust-binding-node

环境变量 `NACOS_CLIENT_LOGGER_LEVEL=INFO` 可设置日志打印级别，默认 INFO 
- 客户端日志请在目录 `$HOME/logs/nacos/` 查看

环境变量 `NACOS_CLIENT_COMMON_THREAD_CORES=4` 可设置客户端核心线程数，默认 1

环境变量 `NACOS_CLIENT_NAMING_PUSH_EMPTY_PROTECTION=false` 可关闭 Naming 防推空保护，默认 true

更多环境变量请看 `nacos-sdk-rust` 的[文档说明](https://github.com/nacos-group/nacos-sdk-rust)

# License
[Apache License Version 2.0](LICENSE)

# Acknowledgement
- binding for NodeJs with napi by [napi-rs](https://github.com/napi-rs/napi-rs.git)
- binding the [nacos-sdk-rust](https://github.com/nacos-group/nacos-sdk-rust.git)

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