https://github.com/opc-source/nacos-sdk-rust-binding-node
nacos-sdk-rust binding for NodeJs.
https://github.com/opc-source/nacos-sdk-rust-binding-node
nacos napi napi-rs nodejs rust sdk
Last synced: 30 days ago
JSON representation
nacos-sdk-rust binding for NodeJs.
- Host: GitHub
- URL: https://github.com/opc-source/nacos-sdk-rust-binding-node
- Owner: opc-source
- License: apache-2.0
- Created: 2023-02-10T06:20:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-28T07:35:57.000Z (about 1 month ago)
- Last Synced: 2026-01-28T20:59:04.618Z (about 1 month ago)
- Topics: nacos, napi, napi-rs, nodejs, rust, sdk
- Language: JavaScript
- Homepage:
- Size: 1000 KB
- Stars: 4
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
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)