Extension for AutoRest (https://github.com/Azure/autorest) that generates TypeScript code. The transpiled javascript code is isomorphic. It can be run in browser and in node.js environment.
4b1cb5eeaf | ||
---|---|---|
.github | ||
.scripts | ||
.vscode | ||
common | ||
docs | ||
eng/scripts | ||
packages | ||
.gitattributes | ||
.gitignore | ||
.npmignore | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
rush.json |
README.md
Azure TypeScript SDK and RLC Code Generator Libraries
This repository is the code generator libraries for Azure TypeScript SDK and Azure TypeScript Rest Level Client libraries.
Packages
Name | Changelog | Latest | Next |
---|---|---|---|
@autorest/typescript | Changelog | ||
@azure-tools/typespec-ts | Changelog | ||
@azure-tools/rlc-common | Changelog |
@next
version of the package are the latest versions available on the main
branch.
General Introduction
Inside this project, we support both high level client generation and rest level client generation. In the rest level client generation, we support generate code from both rest api specs and typespec. In the high level client generation, we only support generation from rest api specs.
- @autorest/typescript: contains the original high level client generation and the rest level client generation, mostly including the transformation from autorest code model into RLC model part.
- @azure-tools/typespec-ts: is the typescript TypeSpec emitter, which contains the transformation from TypeSpec model into RLC model.
- @azure-tools/rlc-common: contains the common generation logic from RLC model into rest client libraries code part. Which is depended by both
@autorest/typescript
rlc generation part and@azure-tools/typespec-ts
.