@axah/wsdl-typegen
v1.0.4
Published
This package allows to generate flow or typescript types for SOAP clients generated by the `soap` package.
Downloads
43
Maintainers
Keywords
Readme
wsdl-typegen
This package allows to generate flow or typescript types for SOAP clients generated by the soap
package.
Usage
- Install with npm or yarn
npm i -D wsdl-typegen
yarn add -D wsdl-typegen
- Create and run a script in your
package.json
"scripts": {
"typegen-flow": "wsdl-typegen generate 'path/to/your/wsdls/**/*.wsdl'",
"typegen-typescript": "wsdl-typegen generate -t 'path/to/your/wsdls/**/*.wsdl'"
}
npm run typegen
The typing files will be generated next to your wsdl and xsd files.