@typespec/http-client-js

0.5.0 • Public • Published

@typespec/http-client-js

TypeSpec library for emitting Http Client libraries for JavaScript/TypeScript

Install

npm install @typespec/http-client-js

Usage

  1. Via the command line
tsp compile . --emit=@typespec/http-client-js
  1. 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

Emitter options

emitter-output-dir

Type: absolutePath

Defines the emitter output directory. Defaults to {output-dir}/@typespec/http-client-js See Configuring output directory for more info

package-name

Type: string

Name of the package as it will be in package.json

Package Sidebar

Install

npm i @typespec/http-client-js

Homepage

typespec.io

Weekly Downloads

754

Version

0.5.0

License

MIT

Unpacked Size

901 kB

Total Files

432

Last publish

Collaborators

  • azure-sdk
  • microsoft1es