0.2.0 • Published 5 years ago

@danielemeryau/dumb-node-rpc v0.2.0

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
5 years ago

Dumb Node RPC

Experiment to generate boilerplate for typescript-typed http rpc calls between node microservices.

Install with npm i -S @danielemeryau/dumb-node-rpc

Sample configuration

SampleService.specification.json

{
  "name": "WidgetService",
  "sourceFolder": "./samples/input",
  "destinationFolder": "./samples/output",
  "services": [
    {
      "name": "GetWidgets"
    },
    {
      "name": "FindWidget"
    }
  ]
}

WidgetService.types.ts

export interface Widget {
  name: string;
}

export interface GetWidgetsRequest {}
export interface GetWidgetsResponse {
  results: Widget[];
}
export interface FindWidgetRequest {}
export interface FindWidgetResponse {
  result: Widget;
}
0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.12

5 years ago

0.0.13

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago