grpc-protobufjs-devtools Chrome Extension

grpc-protobufjs-devtools chrome extension

grpc-protobufjs-devtools for Chrome Download

  • Chrome Extension Page
  • Total Number of Extension users:
    420 +
  • Reviewed by :
    0 Chrome Users
  • Author Name:
    ttshangxiang
grpc-protobufjs-devtools chrome extension is grpc, proto, protobufjs, devtools, chrome, extensions.

grpc, proto, protobufjs, devtools, chrome, extensions.
### use

1, 使用node和protobufjs创建proto.js。

``` javascript

const pbjs = require("protobufjs/cli/pbjs");

const fs = require('fs');

const path = require('path');

const glob = require('glob');

const protoPath = 'src/proto/**/*.proto'; // origin path

const protos = glob.sync(protoPath);

pbjs.main([ "--target", "json-module", "-w", "commonjs", ...protos], function(err, output) {

if (err)

throw err;

// target path

fs.writeFileSync(path.resolve(__dirname, './src/xxx/proto.js'), output);

});

```

2, 挂载json字符串到window。

``` javascript

const $root = require('./src/xxx/proto.js');

window.__DEVTOOLS_PROTO_JSON_STRING__ = JSON.stringify($root.toJSON({keepComments: true}));

```

How to install grpc-protobufjs-devtools chrome extension in chrome Browser

You can Follow the below Step By Step procedure to install the grpc-protobufjs-devtools Chrome Extension to your Chrome Web browser.

  • Step 1: Go to the Chrome webstore https://chrome.google.com/webstore or download the extension grpc-protobufjs-devtools Chrome Extension Download from https://pluginsaddonsextensions.com
  • Step 2: Now search for the grpc-protobufjs-devtools in Chrome Webstore Search and click on the search button.
  • Step 3: click on the grpc-protobufjs-devtools Chrome Extension Link
  • Step 4: in the next page click on the Add to Chrome button to Download and Install the grpc-protobufjs-devtools extension for your Chrome Web browser .

grpc-protobufjs-devtools Chrome extension Download

Looking for a method to grpc-protobufjs-devtools Download for Chrome then this download link is for you.

It is the grpc-protobufjs-devtools Chrome extension download link you can download and install Chrome Browser.

Download grpc-protobufjs-devtools chrome extension (CRX)

Tags: Const Root Require Src Xxx Proto , Const Root Require , Target Json , Const Glob Require Glob , Src Xxx Proto , Proto Protobufjs Devtools , Target Path , Const Pbjs Require , Const Path Require Path , Const Path Require , Const Protopath Src Proto , Devtools Proto Json , Protos Function Err Output , Const Fs Require Fs , Const Glob Require , Const Pbjs Require Protobufjs , Const Protos Glob , Target Path , Node Protobufjs Proto , Const Fs Require ,

grpc-protobufjs-devtools Related Chrome Extensions