1.0.0 • Published 6 months ago

krpc-base v1.0.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
6 months ago

changes

几种不同实现,通用接口. 目前支持以下三种实现:

  • krpc-web : grpc-web
  • krpc-node : grpc-js/node,pure grpc
  • krpc-mini : wx.request + web-text

1.0.0 2022-11-21

构建方法

npm config set scripts-prepend-node-path true


bun install
bun run build
bun run test
# if bun test error , fallback to node/npm
# npm test

npm config set registry=https://registry.npmjs.org
npm login # martin.cong
npm publish

过时的

# npm i -g pnpm 
# pnpm config set registry  https://registry.npmmirror.com/
# pnpm get registry
# pnpm install 
# pnpm build
# pnpm test
1.0.0

6 months ago