16 lines
499 B
Markdown
16 lines
499 B
Markdown
|
# Library
|
||
|
|
||
|
Your library contains shared code that can be used across multiple services. This is most-often used when code
|
||
|
generating API definitions. For example, gRPC will convert protocol buffer definitions into different language
|
||
|
implementations, simplifying the process of writing client and server implementations. Similarly, GraphQL has
|
||
|
some fairly extensive support for code-generation.
|
||
|
|
||
|
```shell
|
||
|
|- lib
|
||
|
|- {language}
|
||
|
| |- {package}
|
||
|
| | |- package.json
|
||
|
| | |- # ...
|
||
|
|
|
||
|
```
|