remotivelabs-grpc-web-stubs
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

RemotiveLabs WEB-GRPC Stubs

npm version

These are generated grpc-web stubs to be used in a browser context, not intended to bu used with nodejs, read more here https://github.com/grpc/grpc-web

Usage

Installation

npm install --save remotivelabs-grpc-web-stubs

or

yarn add remotivelabs-grpc-web-stubs

Import

import {SystemServiceClient} from 'remotivelabs-grpc-web-stubs'

const client = new SystemServiceClient(brokerUrl)

Development

Build grpc-web-generator

This image is on dockerhub so you do not have to build it

docker build -t remotivelabs/grpc-web-generator .

Generate stubs

From this directory run the following commands and update src/index.ts to explicitly export types.

sh ./generate-ts.sh

Release Instructions

  1. Commit changes.
  2. Generate stubs sh ./generate-ts.sh.
  3. Update version with npm version x.y.z and commit it with release: Prepare a release for version x.y.z.
  4. Publish with npm publish.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.101latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.101
0.0.928
0.0.80
0.0.70
0.0.60
0.0.57
0.0.47
0.0.4-alpha.07
0.0.30
0.0.27
0.0.10

Package Sidebar

Install

npm i remotivelabs-grpc-web-stubs

Weekly Downloads

56

Version

0.0.10

License

apache-v2

Unpacked Size

24 MB

Total Files

32

Last publish

Collaborators

  • nilssonmandola
  • remotiveadmin
  • johanrask
  • tomazzlender-remotivelabs