This package has been deprecated

Author message:

take it down

di-api-protobufs

0.0.12 • Public • Published

Usage:

Once you import the package, you can get the proto absoluate path directly. And if you use an intelligent IDE, it should gives you intelligent auto completion for available proto file paths.

An Example for use case:

const protoPaths = require('di-api-protobufs')

module.exports = {
  customer: {
    protoPath: protoPaths.customerProtoPath,
    service: customerService
  },
  tag: {
    protoPath: protoPaths.tagProtoPath,
    service: tagService
  },
  batch: {
    protoPath: protoPaths.batchProtoPath,
    service: batchService
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i di-api-protobufs

Weekly Downloads

1

Version

0.0.12

License

ISC

Unpacked Size

3.58 kB

Total Files

6

Last publish

Collaborators

  • realdah