TypeSpec library for emitting Http Client libraries for JavaScript/TypeScript
npm install @typespec/http-client-js
- Via the command line
tsp compile . --emit=@typespec/http-client-js
- Via the config
emit:
- "@typespec/http-client-js"
The config can be extended with options as follows:
emit:
- "@typespec/http-client-js"
options:
"@typespec/http-client-js":
option: value
Type: string
Name of the package as it will be in package.json